Hello Vasavi, there were no specific models involved as I wanted to perform a GET list of models available. But it seems to work now on the realm Sweden Central, so it was probably infrastructure related.
Internal server error when calling Cognitive Service APIs
Hello everyone, I'm currently facing unsolvable error when I'm calling OpenAI APIs with OpenAI python client : Invalid response object from API: '{ "statusCode": 500, "message": "Internal server error", "activityId": "588bbae0-0e98-4755-af63-1484b65c7e01" }' (HTTP response code was 500) I face the same behavior since yesterday, there were no improvment at any given time. When I switch resource, it's properly working, it's specific to a given resource. Thanks in advance for support.
2 answers
Sort by: Most helpful
-
-
VasaviLankipalle-MSFT 18,566 Reputation points
2024-01-19T19:55:59.33+00:00 Hello @Romain Huynh Van Thieng , I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that ""The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to "Accept " the answer.
Issue: Internal server error when calling Cognitive Service APIs. client : Invalid response object from API: '{ "statusCode": 500, "message": "Internal server error", "activityId": "588bbae0-0e98-4755-af63-1484b65c7e01" }' (HTTP response code was 500)
Solution: This error occurred when tried GET list of models available with Sweden Central region. Looks like it was a temporary issue. But it seems to work now on the realm Sweden Central.
However, always refer to the models page for the region availability.: https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/models
If you have any other questions or are still running into more issues, please let me know.
Thank you again for your time and patience throughout this issue.
Regards,
VasaviPlease remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.