Skip to main content

Error Codes

SDK Error Codes

Returned by GameRebellion.GetLastError() or as return values from tracking methods.

CodeConstantMeaningResolution
0GR_OKSuccess
-1GR_ERR_GENERICNative exception, missing plugin, or Editor stubCheck platform setup; expected in Editor
-2GR_ERR_INVALID_ARGSMissing required fields or invalid dataCheck required fields on your event object
-3GR_ERR_INVALID_STATESDK not initialized or not in Ready stateCall Initialize() first; check GetState()

HTTP Response Codes (S2S API)

CodeMeaningAction
200Event(s) acceptedSuccess
400Invalid request body or missing required fieldsFix the request payload
401Invalid or missing API keyCheck X-API-Key header
403API key revoked or insufficient permissionsGenerate a new key in the Platform
429Rate limit exceededBack off and retry; check rate limit headers
500Server errorRetry with exponential backoff