Claude API · Errors and configuration

Turn on SDK logging

Print the SDK's requests and responses while debugging.

export ANTHROPIC_LOG=debug

Official Claude API documentation

More errors and configuration commands

All errors and configuration commands · Claude API cheatsheet

Was this page helpful?