We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When calling the Messages API with a valid request but insufficient credit, the API returns status c0de 400 and the message
Your credit balance is too low to access the Anthropic API. Please go to Plans & Billing to upgrade or purchase credits.
Would it be more appropriate to return 402 Payment required, and reserve 400 for actually malformed requests?
402 Payment required
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When calling the Messages API with a valid request but insufficient credit, the API returns status c0de 400 and the message
Would it be more appropriate to return
402 Payment required
, and reserve 400 for actually malformed requests?The text was updated successfully, but these errors were encountered: