Skip to content
Docs
Reference

CHANNEL_KEY_COMPROMISED

Secret key used from a browser

Secret key used from a browser

HTTP status 401 Unauthorized, code CHANNEL_KEY_COMPROMISED.

What it means#

A secret channel key was presented from a browser origin. Secret keys are server-side only; the key has been flagged compromised and disabled, and will not work again.

What to do#

Issue a new secret key and keep it on your server. Use the publishable key in browsers.

On the wire#

Every error response carrying this code names this page in error.moreInfo, with the request id in the query string. See Error codes for the response shape and the list of every code.