Incorrect API key provided #142903
Replies: 5 comments 11 replies
-
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
I have the same issue and I have been picking my hair trying to make sense of it. Glad its from the API end not from me. @samih-sghier ping |
Beta Was this translation helpful? Give feedback.
-
hi, may i confirm that the api end point is aimed to be OpenAI API or Azure OpenAI ? Azure OpenAI Service endpoint base structure-> https://RESOURCE_NAME.openai.azure.com/ Maybe check if the endpoint is set to the right one? :) |
Beta Was this translation helpful? Give feedback.
-
Hey, are you @shabahmd or @samih-sghier able to share the entire file you're hitting this in? It looks like that's not using the Azure |
Beta Was this translation helpful? Give feedback.
-
@jfomhover @matthewisabel any update? |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Bug
Body
Hi All,
I am trying to use Github models via API (OpenAI) on my local. I followed instructions and generated a PAT Github.
However, I am still getting
Error code: 401 - {'error': {'message': 'Incorrect API key provided: ghp_HD1u****************************T4xf. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}
This is what my code looks likeBeta Was this translation helpful? Give feedback.
All reactions