The Bet Brothers
HomeNewsLinkedIn
  • The Bet Brothers APIS
    • 🧩Core Concepts
    • 🔁API Flow
  • OPERATOR API
    • 🔗Operator Integration Service
    • 🔑Protocol API
      • Create api-token
      • Revoke api-token
  • 🚀Game Launcher API
    • Get Game Providers
    • Get Games
    • Launch Game in Demo Mode
    • Launch game in Real Mode
  • 💰Wallet API
    • Balance
    • Bet
    • Win
    • Refund
    • Rollback Win
  • ⚡Free Spin API
    • Add Free Spin
    • Cancel Free Spin
  • 🎮Game Insights
    • Get Game Bet Levels
    • Get Round Info
  • 📖Addendum
    • TBB Error Codes
    • Wallet Error Response
  • SUPPLIER API
    • 🔗Supplier Integration Service
    • 🔑Supplier Protocol API
    • 🚀Game Launcher API
      • Launch Game in Demo Mode
      • Launch Game in Real Mode
  • 🎲Game Events
    • Balance
    • Bet
    • Win
    • Refund
  • 📖Addendum
    • TBB Error Codes
Powered by GitBook
On this page
  1. Addendum

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

    {
      "code": 402,
      "message": "The player does not have enough money for the action."
    }

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.

PreviousAddendum

Last updated 9 days ago

📖