invalid_publishable_key
| HTTP status | 401 |
| Area | Keys and SDK sessions |
Problem type |
https://docs.nexafone.so/errors/invalid_publishable_key |
The publishable key is unknown or revoked, or the workspace or partner cannot use it.
What the detail says
Section titled “What the detail says”The detail explains the occurrence; it can read, for example:
- The publishable key is not valid.
Handling it
Section titled “Handling it”Check the credential: send a valid, unrevoked key or a fresh token.
Example
Section titled “Example”{ "type": "https://docs.nexafone.so/errors/invalid_publishable_key", "title": "Unauthorized", "status": 401, "code": "invalid_publishable_key", "detail": "The publishable key is not valid.", "requestId": "01J9Z8Q4TQ3W6M5V2X7Y8Z9A0B"}Match on code, never on detail: the wording may change. See Problem Details.