This table summarizes the most common error messages returned by the CWS RGS. These help identify issues related to authentication, user management, and integration faults.

Code/ Message

Meaning

How to Fix

Error: No credentials sent

Missing apiusername or apipass in the request

Ensure both credentials are passed in every API request (see Chapter F)

ERROR 101

Invalid apiusername or apipass

Verify credentials are correct. Contact support if unsure.

ERROR 253

The user does not exist in the system

Check the login or userid being used. Ensure the player account is created.

ERROR 301 (if exists)

Invalid gameid or inactive game

Make sure you're using a valid, active game ID

ERROR 406 (if exists)

Session expired or already finalized

Request a new game play token or refresh the session

ERROR 409 (if used)

Duplicate transaction

Use a unique uniqid for each balance_adj or freespin call

ERROR 500 (if used)

Internal error

Retry after a delay or contact support

uniqid <id> was already used for a different grant (<fields>); send a new uniqid

The uniqid belongs to an earlier grant with other values

Send a new uniqid for a new grant

uniqid <id> already granted feature_spins (grant id <N>, <req> spins requested; the round has since grown to <stored> spins by a retrigger); a uniqid grants once and this request grants nothing new - send a new uniqid for a new grant

The same feature_spins request was replayed after the player's feature retriggered, so the grant now holds more spins than were requested; nothing is granted again, and the reply also carries freespins_id (the existing grant) with status ERROR

Send a new uniqid for a new grant

Unknown currency <value>: send the ISO code the player plays in (e.g. EUR, USD, COINS)

The currency is not one the platform knows

Send the ISO code

currency <value> is not the currency of player <login>; send the player's own currency or leave currency empty

The currency differs from the player's own

Send the player's currency or leave it empty


For other error codes, please refer to the documentation section of the method that you have used.

EG: If you try to get list of games and you get an error, see the documentation section of the list of games method to understand the possible problems. Most of the other error messages are intuitive.