- 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: 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 indefinitely. As such, the security ramifications of an API key being compromised are far more significant than tokens.
As non-TLS transports can be inspected by any network devices routing traffic between the client and our service, we are unwilling to service requests that use API keys as this presents an unacceptable security risk. We do however support basic authentication over TLS, or token authentication over non-TLS connections.
Read the documentation on how to select an appropriate authentication scheme