Azure / Azure/azure-search-vector-samples
Getting error 'HttpResponseError: () The given API key doesn't match' in textsplit-data-chunking-example.ipynb
- Dominant language
- Jupyter Notebook
- Stars
- 910
- Forks
- 377
- PR merge metrics
- No merged PRs in 30d
Description
Getting an 'HttpResponseError: () The given API key doesn't match service's internal, primary or secondary keys.' in error in search_index_client.create_or_update_index(index)
I have validated that my azure_openai_key is valid. I have tried it with API Key for my text-embedding-ada-002 embedding as well but it still gives me the same error.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with textsplit-data-chunking-example.ipynb and the call to search_index_client.create_or_update_index(index). Trace which Azure service endpoint and key the example uses, then compare that pairing with the key being supplied for Azure OpenAI or text-embedding-ada-002. Done means the index creation runs without the API-key mismatch error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, jupyter-notebook
- Domain
- cloud, search
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100