Error code: 401 - {'error': {'message': 'Missing Authentication header or invalid API key', 'code': 401}} #656
Unanswered
exponentiallyio
asked this question in
Q&A
Replies: 2 comments 2 replies
-
Hello, does anyone have any insight/suggestions on this? Thank you |
Beta Was this translation helpful? Give feedback.
0 replies
-
Do you have an OpenAI key setup also or just Anthropic? It looks like fabric checks to see if OpenAI offers that model, and doesn't handle a missing API key: fabric/installer/client/cli/utils.py Lines 415 to 430 in dd4b896 Also, claude models need to be suffixed by the model build number. In this case you'd need |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, it was working fine, then I used:
fabric --changeDefaultModel claude-3.5-sonnet
Now it throws this error whenever I run it:
Error: Error code: 401 - {'error': {'message': 'Missing Authentication header or invalid API key', 'code': 401}} Error code: 401 - {'error': {'message': 'Missing Authentication header or invalid API key', 'code': 401}}
I've tried running the setup again, changing the Default Model back, still the same error. And I've checked the API keys in ~/.config/fabric/.env and they're there
Would appreciate any help!
Beta Was this translation helpful? Give feedback.
All reactions