Error Handling
Learn how to detect, interpret and recover from BSOS API errors.
1
Read the HTTP status code
Always check the HTTP response status before processing the response body.
2
Inspect the error response
Read the returned error code and message to determine the cause of the failure.
3
Retry when appropriate
Retry temporary failures using exponential backoff. Do not retry validation errors.
4
Log failures
Record request identifiers and error details to simplify debugging and monitoring.
Congratulations
You have completed the BSOS API Guides. Continue with the API Reference to explore every endpoint in detail.
Continue to API Reference →