Error Codes

Reference for NoLag error codes and how to handle them.

Authentication Errors

CodeMessageDescription
AUTH_INVALID_TOKENInvalid access tokenThe provided token is malformed or expired
AUTH_TOKEN_EXPIREDToken expiredThe token has expired, obtain a new one
AUTH_ACTOR_DISABLEDActor disabledThe actor associated with this token has been disabled

Subscription Errors

CodeMessageDescription
SUB_NOT_ALLOWEDSubscription not allowedACL denies subscribe access to this topic
SUB_TOPIC_NOT_FOUNDTopic not foundThe specified topic does not exist

Publish Errors

CodeMessageDescription
PUB_NOT_ALLOWEDPublish not allowedACL denies publish access to this topic
PUB_PAYLOAD_TOO_LARGEPayload too largeMessage exceeds maximum size limit
PUB_RATE_LIMITEDRate limitedToo many messages, slow down

Connection Errors

CodeMessageDescription
CONN_TIMEOUTConnection timeoutFailed to establish connection in time
CONN_CLOSEDConnection closedThe connection was closed unexpectedly

Next Steps