Skip to content

Errors

HTTP statuses, error bodies and error codes of /api/v1.

On this page

HTTP statuses#

StatusMeaning
400Invalid parameters, unknown game, unavailable provider or unsupported feature
401API key missing, wrong, inactive or expired
403Provider or game not enabled for your account, or no callbackUrl (Validator)
404Provider, free-spin campaign, round or validation run not found
429Rate limit: 200 requests / 60 s per server IP, per endpoint; see Retry-After
500Unexpected error on our side

Error body#

statusCode and message are always present. message is a string, or an array of strings for request-body validation. error is absent on 429 and 500. Launch, games, free-spin and round errors with status 400 also carry a canonical object; 401, 403, 404, 429, 500 and body validation errors do not. Check statusCode first, then canonical.errorCode when present.

JSONC
// 400 from POST /api/v1/launch
{
  "statusCode": 400,
  "message":    "gameId must be a numeric string",
  "error":      "Bad Request",
  "canonical": {
    "errorCode": "INVALID_REQUEST",
    "message":   "gameId must be a numeric string",
    "provider":  "PRAGMATIC_PLAY"
  }
}

// 400 from request-body validation: message is an array, no canonical object
{
  "statusCode": 400,
  "message":    ["betId must be an integer number"],
  "error":      "Bad Request"
}

// 401
{ "statusCode": 401, "message": "API key required", "error": "Unauthorized" }

Error codes returned today#

CodeMeaningWhat to do
INVALID_REQUESTA parameter is missing or malformed, or the game is unknownFix the request
PROVIDER_UNAVAILABLEThe provider is inactive, or answered with an error or too lateShow another game; try again later
GAME_BLOCKEDThe game or its studio is blockedHide it and refresh your games list. A game blocked only for your account returns 403 without a code.
CONTRACT_NOT_ENABLEDGAME_AGGREGATOR: the currency is not in the contractUse a supported currency
NOT_SUPPORTEDNo demo, free spins or round history for this provider or gameHide the feature

Reserved for future use, never returned by /api/v1 today: PLAYER_NOT_FOUND, INVALID_SIGNATURE, INSUFFICIENT_FUNDS, RATE_LIMITED, INTERNAL_ERROR, SESSION_EXPIRED, DUPLICATE_TRANSACTION, VALIDATION_FAILED.

Questions about your integration?Write to us with your account name and, if you have one, a sessionId or transactionId. integration@agixx.net
Errors - API Documentation | AGIXX