- Ably FAQs
- Ably error codes
- Client errors
-
Account billing and packages
-
General
-
Realtime API and client libraries
-
Troubleshooting
-
Channels
-
REST API and client libraries
-
Ably error codes
-
Account and app setup and configuration
-
Ably architecture, transports, and security
-
Performance and Redundancy
-
Push Notifications
-
Integrations
-
Migrating to Ably from an existing service
Error Code: 40144 - Unexpected error decoding JWT; decode exception
This error will be returned when the JWT provided by the client to authenticate with Ably cannot be validated.
This can happen for a few reasons and will be indicated in the reason property in a connection state change object or an error returned from a REST request
Examples which will result in this error include
- Invalid or missing payload claims e.g. iat, exp
- Using deprecated / unsupported signing algorithms
-
Empty string used for x-ably-capability
- Empty string / non-string value used for x-ably-revocation-key
- Missing kid when using JWT with your API key