Getting APIError

Vivek Kale 0 Reputation points
2023-08-08T08:59:54.4166667+00:00

I am in the process of building a QnA system using Langchain and OpenAI, following the instructions outlined in your article titled "Build a Chatbot to Query Your Documentation Using Langchain and Azure OpenAI." I have verified that all the API keys and endpoints are accurate, as I have double-checked them. The code was functioning properly up until yesterday. However, I have encountered the following error suddenly, which has led to a halt in my work:

APIError: Backend returned unexpected response. Please contact Microsoft for help. {"error":{"code":"InternalServerError","message":"Backend returned unexpected response. Please contact Microsoft for help."}} 500 {'error': {'code': 'InternalServerError', 'message': 'Backend returned unexpected response. Please contact Microsoft for help.'}} {'Content-Length': '125', 'Content-Type': 'application/json', 'x-request-id': '13a394ce-46fd-4022-bea1-07c6aca6ef0e', 'OpenAI-Processing-Ms': '15.4024', 'apim-request-id': '49a32051-9ff8-4376-bc54-fb803dc9baf5', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options': 'nosniff', 'x-ms-region': 'East US', 'Date': 'Tue, 08 Aug 2023 08:47:14 GMT'}

Please help me with this.

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,912 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AshokPeddakotla-MSFT 35,951 Reputation points
    2023-08-08T16:35:55.7633333+00:00

    Vivek Kale Our team deployed a fix for this issue and it is resolved now. I would request you to check now and update if you are still seeing the same.

    Thanks for understanding!!


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.