- 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 40170 - error from client token callback
The attempt to authenticate using an authUrl or authCallback failed.
Failures will be due to timeout, a network error, an invalid token format or another authentication error condition, such as:
- A TokenRequest callback timed out after x Seconds
The timeout default is 10 seconds, so check any latency issues between the client and your auth server. - The authUrl response is missing a content-type header
Ensure the auth server is returning a content-type header. - The authUrl responded with 'unacceptable content-type'
Ensure the auth server is returning content types of application/json, text/plain or application/jwt
Additional error information will be included in the error.message field.