Troubleshooting - bSkwared/swgoh-comlink GitHub Wiki
This page will be updated as issues arise.
Table of Content
I'm receiving a 4xx HTTP response status.
If you are receiving this kind of response status check the returned response body for the keys code and message to learn exactly what is happening. Below is a list of the response code enums.
"ResponseCode": {
"NORESPONSECODE": 0,
"OK": 1,
"ERROR": 2,
"SERVERERROR": 3,
"SESSIONEXPIRED": 4,
"AUTHFAILED": 5,
"RATEEXCEEDED": 6,
"SERVERUNAVAILABLE": 7,
"INVALIDREQUEST": 8,
"INVALIDDATA": 9,
"LEADERBOARDMATCHMAKINGERROR": 10,
"UNAUTHORIZED": 11,
"SUSPENDED": 12,
"SERVEROUTAGE": 13,
"FEATURESUSPENDED": 14,
"MISSINGPAYLOAD": 15,
"NOCONTENT": 16,
"NETWORKUNAVAILABLE": 20,
"SEQUENCEHIGH": 30,
"SEQUENCELOW": 31,
"RECORDNOTFOUND": 32,
"EVENTNOTFOUND": 33,
"INSUFFICIENTRESOURCES": 40,
"INVALIDCLIENTVERSION": 50,
"FORCECLIENTRESTART": 51,
"INCOMPATIBLEDEVICE": 52,
"ACCOUNTUPDATED": 53,
"PRIORITYINVALIDCLIENTVERSION": 54,
"PRIORITYFORCECLIENTRESTART": 55,
"INVALIDRECEIPT": 60,
"PAYMENTPENDING": 61,
"OPPONENTINBATTLE": 71,
"UNDERATTACK": 72,
"OPPONENTDATASTALE": 73,
"BATTLETIMEDOUT": 74,
"PLAYERRANKSTALE": 75
}
Code 6 means your program was making too many requests to the api and it exceeded the rate limit put in place by CG.
Code 32 is generally caused by entering the wrong ally code.
Visit mozilla.orgโ if you would like to learn more about different response statuses.