- 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: 40142 - Token expired code
This error is returned when your current authentication token has expired. You can use authUrl or authCallback to allow tokens to be automatically renewed by the client SDK. However it's important to note that you will receive this error when using AuthUrl or authCallback but the client SDK will take care of renewing the token for you.