Error Codes
Reference for NoLag error codes and how to handle them.
Authentication Errors
| Code | Message | Description |
|---|
AUTH_INVALID_TOKEN | Invalid access token | The provided token is malformed or expired |
AUTH_TOKEN_EXPIRED | Token expired | The token has expired, obtain a new one |
AUTH_ACTOR_DISABLED | Actor disabled | The actor associated with this token has been disabled |
Subscription Errors
| Code | Message | Description |
|---|
SUB_NOT_ALLOWED | Subscription not allowed | ACL denies subscribe access to this topic |
SUB_TOPIC_NOT_FOUND | Topic not found | The specified topic does not exist |
Publish Errors
| Code | Message | Description |
|---|
PUB_NOT_ALLOWED | Publish not allowed | ACL denies publish access to this topic |
PUB_PAYLOAD_TOO_LARGE | Payload too large | Message exceeds maximum size limit |
PUB_RATE_LIMITED | Rate limited | Too many messages, slow down |
Connection Errors
| Code | Message | Description |
|---|
CONN_TIMEOUT | Connection timeout | Failed to establish connection in time |
CONN_CLOSED | Connection closed | The connection was closed unexpectedly |
Next Steps