Hello Nandini T, thank you for posting your query here!
Firstly, apologies for the delay in response.
The error you’re encountering seems to be related to the ContentDecodePolicy.deserialize_from_http_generics method in the Azure SDK for Python. This method is used to deserialize HTTP responses, and it’s expecting a certain type of return value. If it encounters a string (str) when it’s expecting another type, it could throw the error you’re seeing.
However, since the issue is related to SDK for Python, I would recommend posting your question here Issues · Azure/azure-sdk-for-python · GitHub to receive a focused and immediate assistance from the right set of experts.
This repository is for active development of the Azure SDK for Python. For consumers of the SDK, we recommend visiting our public developer docs or our versioned developer docs.
---------------------------------------------------------------------------------------------------------- Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.