Menu

invalid_api_key

The API key is missing, unknown or revoked. HTTP 401

What it means

The request had no Authorization header, or its key is not one Pushwren knows, or it was revoked.

What to do

Send Authorization: Bearer <key> with a live key from the portal (Settings → API keys). Create a new one if it was revoked.

Example

{
  "error": {
    "code": "invalid_api_key",
    "message": "The API key is missing, unknown or revoked",
    "docUrl": "https://docs.pushwren.com/errors/invalid_api_key"
  }
}

Every error has this shape. The message says what went wrong in this case; docUrl links here. See all errors.