401 Unauthorized

having used a combination of ashleyk's readme and generativelabs video, I have setup a runpod oobabooga worker. However I am unable to make calls to the endpoint resulting in a 401 unnauthorized: I have setup postman as the generativelabs video has suggested, and I have quadrouple checked that I have properly setup the api id & api key on postman and SAVED. I am also using the format as per @ashleyk's documentation (in fact i'm using the exact prompt), however I am still getting 401 unauthorized. As such i'm at a loss. Hope iI can get help
No description
Solution:
I ended up solving it by puting the API Key under Authorization as Type bearer instead of the header tab, and by manually putting the id into the URL
Jump to solution
4 Replies
Madiator2011
Madiator201112mo ago
did you added api key?
digigoblin
digigoblin12mo ago
Probably added it but didn't click the save button. Postman doesn't save it automatically.
endangeredAI
endangeredAIOP12mo ago
Yep I did I did, I chekced it 5 times
Solution
endangeredAI
endangeredAI12mo ago
I ended up solving it by puting the API Key under Authorization as Type bearer instead of the header tab, and by manually putting the id into the URL

Did you find this page helpful?