Error Handling
Q: What to do when encountering a 401 error?
A: 401 indicates authentication failure, please check:
Whether the API key is correct
Header format:
Authorization: Bearer your-api-keyWhether the key has expired or been deactivated
Q: What to do when encountering a 429 error?
A: 429 indicates too frequent requests, solutions:
Reduce request frequency
Implement retry mechanism (exponential backoff recommended)
Contact technical support if you need higher rate limits
Q: What to do when encountering a 500 error?
A: 500 indicates server error, please:
Retry later
Check if request parameters are correct
If it persists, contact technical support and provide request details
Q: How to implement request retry?
A: Recommended retry strategy:

