Skip to Content
Errors

The key must not be in the URL

An API key was found in the URL.

Status: 400 · Type: https://docs.ajour.dk/errors/key-in-url

The query string has an API key (ajr_live_...). The API does not accept keys in the URL, because URLs are saved in logs, browser history and proxies.

What to do

  • Send the key only in the header: Authorization: Bearer <key>.
  • Revoke the key in Settings → API keys and create a new one, because it can now be in logs.

See all error types.

On this page