Claude API · Errors and configuration
Log the request ID
Include the request ID when reporting a problem to Anthropic.
print(response._request_id)
Official Claude API documentation
More errors and configuration commands
All errors and configuration commands · Claude API cheatsheet