Invalid error code

Ably error codes are typically 5 numeric digits such as 40000, which indicates bad request.  You may have arrived at this support article as you have a link to view the documentation for an error code that is invalid.

 

Ably client libraries will typically emit an error with attributes as follows:

  • code - Ably error code, see ably-common/protocol/errors.json for the complete list of public error codes
  • message - Additional message information, where available.  Sometimes, where applicable and when supported in the library, a URL to find out more about the error will be included such as https://help.ably.io/error/40000
  • statusCode - (optional) HTTP Status Code corresponding to this error, where applicable
  • href - When applicable and supported by the client library, a URL string is specified to find out more about the error, such as https://help.ably.io/error/40000.