INVALID_API_KEY
AccessThe API key is not accepted.
Next step Check that the active Game API key belongs to the intended workspace. Keep it in your server environment.
Gateway codeSearch documented error names, meanings and recovery steps. Descriptions summarize the contract; they are not raw provider messages or a list of every possible rejection.
26 of 26 entries shown
INVALID_API_KEYThe API key is not accepted.
Next step Check that the active Game API key belongs to the intended workspace. Keep it in your server environment.
Gateway codeIP_NOT_ALLOWEDThe backend source IP is not authorized.
Next step Allow the actual backend egress IP in API Setup. Return origins and callback settings do not grant source-IP access.
Gateway codeSCOPE_DENIEDThe key cannot call this method.
Next step Review the method scopes on the Game API key before dispatching the request again.
Gateway codeSANDBOX_UPSTREAM_NOT_CONFIGUREDA retired test-environment key was used.
Next step Use a live Game API key, including for eligible demo requests.
Gateway codeRESELLER_ENTITLEMENT_DENIEDInherited reseller access does not authorize this operation.
Next step Check the reseller term and inherited game/provider authorization.
Gateway codeCURRENCY_NOT_ALLOWEDThe workspace cannot use the requested currency.
Next step Check workspace currency restrictions and the currency-specific catalogue.
Gateway codeGAME_NOT_ALLOWEDThe requested game is outside workspace access.
Next step Check game/provider entitlement and use an exact identifier returned by the workspace catalogue.
Gateway codeRETURN_ORIGIN_NOT_ALLOWEDA launch return origin is not approved.
Next step Allowlist the exact HTTPS origins of homeurl and cashierurl in API Setup. Include a non-default port, without a path.
Gateway codeCALLBACK_NOT_CONFIGUREDRequired wallet callback configuration is missing.
Next step Configure the HTTPS callback URL and its separate signing secret in API Setup.
Gateway codeACTIVATION_REQUIREDThe operation needs activation entitlement.
Next step Review the workspace activation status and the eligibility of the requested operation.
Gateway codePRODUCTION_ACTIVATION_REQUIREDFunded play requires production activation.
Next step Confirm production activation before dispatching a funded session.
Gateway codeINSUFFICIENT_GGR_BALANCEThe separate workspace GGR balance is insufficient.
Next step Fund the workspace GGR wallet. GGR funds are separate from player funds and activation payments.
Gateway codeSTARTING_BALANCE_REQUIREDA funded launch needs an explicit starting balance.
Next step Supply a finite numeric balance for getGame and reserve the starting funds in your own wallet before dispatch.
Gateway codeIDEMPOTENCY_KEY_REQUIREDThe mutation is missing its operation key.
Next step Persist one operation key and the exact request before dispatch, then send the required Idempotency-Key.
Gateway codeINVALID_IDEMPOTENCY_KEYThe operation key does not meet the header rules.
Next step Use 8–255 printable ASCII characters without spaces. Preserve the identity of an already dispatched operation.
Gateway codeIDEMPOTENCY_NOT_SUPPORTEDThis method does not accept an operation key.
Next step Omit Idempotency-Key for reads and demos. The typed SDK rejects an idempotency key on those requests.
Gateway codeIDEMPOTENCY_CONFLICTThe key belongs to a different request.
Next step Reconcile the original operation. Changed fields or player identify a different operation; do not overwrite the original request record.
Gateway codeREQUEST_IN_PROGRESSAn identical operation is still being processed.
Next step Keep the original operation identity and reservation. Do not dispatch a new operation while the original outcome is pending.
Gateway codeUPSTREAM_APPLICATION_ERRORThe provider returned a conclusive application rejection.
Next step Treat the command as rejected even when HTTP status is 200. Inspect the safe request ID and follow the wallet recovery workflow.
Gateway codeUPSTREAM_OUTCOME_UNKNOWNThe provider outcome cannot be established.
Next step Keep funds reserved, retain the original key and exact request, and reconcile before another financial operation.
Gateway codeIDEMPOTENCY_OUTCOME_UNKNOWNThe recorded operation has an unknown outcome.
Next step Inspect Request Logs and reconcile with support. A replacement key does not resolve the original operation.
Gateway codeIDEMPOTENCY_RESULT_UNAVAILABLEThe prior result cannot be safely replayed.
Next step Inspect the original request and reconcile. Sensitive launch URLs may no longer be replayable.
Gateway codeIDEMPOTENCY_RESULT_EXPIREDThe stored result is no longer available for replay.
Next step Keep the operation record and reconcile with support before releasing funds or launching again.
Gateway codeAggregatorValidationErrorThe SDK rejects invalid local input before dispatch.
Next step Review parameter bounds, server runtime and operation options. Correct the input before sending a request.
SDK classAggregatorApiErrorAn unsuccessful HTTP response or nonzero numeric API error was returned.
Next step Inspect safe status, code, providerError, requestId and outcomeUnknown. Follow Retry-After when supplied, preserving mutation identity.
SDK classAggregatorTransportErrorThe request ended with network, timeout, aborted or invalid-response reason.
Next step Check outcomeUnknown. A timeout or cancellation after dispatch does not prove rollback; reconcile mutations before retrying.
SDK classThe SDK throws typed errors instead of returning unsuccessful command envelopes. HTTP 200 with a nonzero numeric error is still a command rejection. Successful commands require numeric error: 0.
| Class | Meaning | Available fields |
|---|---|---|
| AggregatorValidationError | Invalid configuration or parameters, rejected before dispatch | name, message |
| AggregatorApiError | HTTP failure or command rejection | status, code, providerError, requestId, retryAfterSeconds, outcomeUnknown |
| AggregatorTransportError | Network, timeout, cancellation or malformed response | reason, outcomeUnknown, status, requestId |
import { AggregatorApiError, AggregatorTransportError, AggregatorValidationError,} from '@aggregator-network/sdk'; try { const catalogue = await client.getGameList({ currency: 'USD' }); // Use catalogue.response in your backend.} catch (error) { if (error instanceof AggregatorValidationError) { throw error; // Correct the configuration or input. } if (error instanceof AggregatorApiError) { console.error({ status: error.status, code: error.code, requestId: error.requestId, outcomeUnknown: error.outcomeUnknown }); } else if (error instanceof AggregatorTransportError) { console.error({ reason: error.reason, requestId: error.requestId, outcomeUnknown: error.outcomeUnknown }); } else { throw error; }}Only the selected diagnostic fields are logged here. Keep API keys, callback secrets, request bodies and game launch URLs out of production logs. The SDK's errors omit raw response bodies and server-supplied messages.
A request may reach the gateway or provider before a timeout, disconnect or cancellation. If outcomeUnknown is true, keep the persisted operation key, exact request and any wallet reservation. Reconcile the request before releasing funds or trying again.
The SDK makes no automatic retries. A new idempotency key describes a new operation and cannot resolve the outcome of an earlier one. A successful launch URL is sensitive and is not guaranteed to be replayable.
AggregatorApiError.code contains a safe gateway code when available. providerError contains a positive numeric application error when available. requestId is a safe request identifier from the response. Some rejections use only a numeric application error; code may therefore be null.
retryAfterSeconds exposes a numeric Retry-After header when available. Respect it while preserving mutation identity. For detailed gateway error meanings, limits and recovery rules see validation.
| reason | Meaning |
|---|---|
| network | Fetch failed without an SDK-controlled timeout or cancellation. |
| timeout | Client or per-request timeout elapsed. |
| aborted | Caller cancellation signal aborted the request. |
| invalid-response | Redirect, malformed JSON or an incompatible success envelope. |
For game launch responses, the SDK requires the documented HTTPS URL without embedded credentials.