Getting 401 Unauthorized Error Despite Valid API Key and Correct Endpoint
Hi Roboflow community,
Iām experiencing a persistent 401 āUnauthorized api_keyā error when calling my deployed workflow, and Iāve tried everything I can think of. Here are the details:
Iāve tried regenerating the API key, redeploying the workflow, and using different endpoint formats. The same API key works fine for other workflows, so Iām not sure whatās different about this one.
Any suggestions on what might be causing this? Is there something specific about classification workflows that I might be missing?
Hi @Pritesh_Donga,
Happy to help here! To help me triage, did anything change in your implementation before you began encountering this issue? Also, are you able to run inference on your workflow via the detect.roboflow.com endpoint?
Finally, do you give Roboflow Support permission to access your workspace? Thank you!
Hi @Ford
Thanks for the quick reply. When running inference through detect.roboflow.com endpoint, I get the following error:
Roboflow API HTTP Error: 405 - {ādetailā:āMethod Not Allowedā}
Yes, I give Roboflow support permission to access the workspace model āphclassifier2ā