key_in_url
400 · API keys go in the Authorization header, never in the address.
What it means
Section titled “What it means”An API key was found in the address (the URL or its query string). Addresses end up in logs, browser history and analytics, so a key there is treated as leaked.
How to put it right
Section titled “How to put it right”Send the key only in the Authorization header: Authorization: Bearer fk_live_…. Then revoke the key that was in the address and make a new one in Organisation › Developers.
What the response looks like
Section titled “What the response looks like”{ "type": "https://docs.farkitect.com/api/errors/key-in-url", "title": "API keys go in the Authorization header, never in the address", "status": 400, "detail": "A sentence about this request: what was wrong, and what would be accepted.", "code": "key_in_url", "requestId": "req_46075e91719e4bd0a9a4"}Branch on code, not on title or detail, which may be reworded. See Errors for how every error is shaped.