How can I resolve the NotFoundError: Error code: 404 - {'error': {'code': '404', 'message': 'Resource not found'}}

Kemper Johanna 0 Reputation points
2024-09-12T11:25:32.0333333+00:00

Hi everyone!

I am getting the following error, no matter what I do:

Error code: 404 - {'error': {'code': '404', 'message': 'Resource not found'}}

Context: I am building a RAG based chatbot. To try different models and embeddings, resp. their versions, I had to create a secdond Azure OpenAI account with a different region.

I changed my access key and my endpoints, api version etc accordingly, but get the 404 error. Even when I roll back to the other account using the old access credential, the same error persists.

I also tried a minimal example like this: https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/switching-endpoints but it also did not work. I double checked the correctness of key, endpoint etc. but thats not the issue. I am coding in python.

I'd be very happy to get any help!

Thanks a lot in advance!

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

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.