Client errors

Errors that are generated because of client errors such as invalid request formats, authorization issues and rate limits.

Error code: 40103 - Invalid use of Basic auth over non-TLS transport
API keys are intended to be used by trusted devices, typically on your servers.  This is primarily because unlike short-lived tokens, API keys are valid ind...
Tue, 2 May, 2017 at 7:26 PM
Error code: 40142 - Token expired code
This means your current token has expired. You may be getting this if you have forgotten to renew your existing token. We recommend you make use of authUrl ...
Tue, 4 Sep, 2018 at 5:15 PM
Error code: 40143 - Token unrecognised
This means the token you are providing is not recognised as either an Ably Token, an Ably JWT, or a JWT with a valid Ably Token embedded within it. If you&#...
Tue, 4 Sep, 2018 at 5:24 PM
Error Code: 40144 - Unexpected error decoding JWT; decode exception
This will occur when the structure of the received object/token does not match the expected object/token.  This usually occurs for users when they attem...
Fri, 3 Aug, 2018 at 9:19 AM
Error code: 40160 - action not permitted
This means that the client does not have permission to do whatever it attempting to do. If the client is meant to have permission for the action it is perfo...
Tue, 4 Sep, 2018 at 5:36 PM
Error code: 40300 - Account disabled
This error code usually indicates that the app you are accessing belongs to an account that has been manually disabled by Ably. Alternatively, this erro...
Thu, 13 Sep, 2018 at 3:24 PM
Error code: 40330 - Unable to activate account due to placement constraint (unspecified)
This error code usually indicates that the app you are accessing belongs to an account that has been manually disabled by Ably. Alternatively, this erro...
Thu, 13 Sep, 2018 at 3:24 PM
Error code: 40331 - Unable to activate account due to placement constraint (incompatible environment)
This error code usually indicates that the app you are accessing belongs to an account that has been manually disabled by Ably. Alternatively, this erro...
Fri, 28 Sep, 2018 at 1:18 PM
Error code: 40332 - Unable to activate account due to placement constraint (incompatible site)
This error code usually indicates that the app you are accessing belongs to an account that has been manually disabled by Ably. Alternatively, this erro...
Thu, 13 Sep, 2018 at 3:20 PM
Error code: 42910 - Rate limit exceeded; request rejected
This error indicates you have hit a hard limit on your account, and the request you made has been rejected.  The limit will only remain in effect until the ...
Sat, 22 Sep, 2018 at 12:50 PM