TBB Error Codes
If an error occurs during the processing of a request, the Bet Brothers Platform will return a response that includes a body with a JSON object. This JSON object provides detailed information about the error, readily accessible to developers for troubleshooting and debugging purposes. The structure of the JSON object is designed to convey essential details such as the error type, a brief message describing the issue, and any additional context that may aid in diagnosing the problem. By using this standardized format, developers can efficiently pinpoint the source of the error and implement the necessary
Error Codes and Messages
Here are the common error codes with their corresponding HTTP status codes and messages:
HTTP Code
Error Code
Message
400
400
Bad request. Badly formatted JSON.
402
402
The player does not have enough money for the action.
403
403
Forbidden. Request sign doesn't match.
404
404
Player not found.
405
405
Game is not available.
406
406
Previous transaction not found.
407
407
Player is blocked.
408
408
Bet is rejected.
418
418
The player has reached his responsible limits.
500
500
Unknown error.
503
503
Service is unavailable.
504
504
Request timed out.
Last updated