azure-search-openai-demo
azure-search-openai-demo copied to clipboard
Running locally - getting an "Unauthorized" message when getting a response to a question
Please provide us with the following information:
This issue is for a: (mark with an x
)
- [x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
When running locally, after all resources were created successfully, getting an "Unauthorized" error in response after posting a question. I am logged into the Azure account.
Any log messages given by the failure
azure.core.exceptions.ClientAuthenticationError: Operation returned an invalid status 'Unauthorized' 127.0.0.1 - - [09/Jun/2023 18:37:09] "POST /chat HTTP/1.1" 500 - INFO:werkzeug:127.0.0.1 - - [09/Jun/2023 18:37:09] "POST /chat HTTP/1.1" 500 -
Expected/desired behavior
OS and Version?
Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
azd version?
run
azd version
and copy paste here.
Versions
Mention any other details that might be useful
Thanks! We'll be in touch soon.