Closed KolvacS-W closed 2 months ago
please fix. same problem here. Curl and python sdk both work
Hi, I am not able to reproduce the issue and that feels like a problem on Anthropic side. The demo example does authenticate correctly as far as I can tell.
Could you try the following from the root of the repository:
node_modules
directoryscripts/bootstrap
scripts/build
ANTHROPIC_API_KEY=<your key> ./examples/demo
If you're still facing the same problem, please reach out to Anthropic support with details to help them figure out why requests sent with API Key are rejected.
I'm going to go ahead and close this issue because it seems more likely to be a problem with your API key than the SDK. If you're able to share repro steps of using the same ANTHROPIC_API_KEY
environment variable in both the Python & Node SDK, and the request only fails in the Node SDK, we can reopen.
Hello, I am a tier1 user and successfully tried to use model at workbench:
However, when I try to create a ts server to call Claude API, I keep having forbidden error.
I also tried to use the demo:
But I still get 403 error:
I also printed out checked my API key to check it is correctly placed. I also tried changing IP address from US to Australia but it didn't help too.
Anybody knows why this would happen? Thanks