Skip to content

token_in_query

400 · The key is in the request address.

The key sits in a URL parameter such as ?access_token=. The API does not accept a key there: the request address stays in logs and browser history.

Pass the key in the Authorization: Bearer <key> header. If an address with the key was saved or published anywhere, treat the key as exposed: issue a new one and delete the old one.

Open Developers in your dashboard
application/problem+json
{
"type" : "https://developers.donatty.com/errors/token_in_query",
"title" : "Token in query",
"status" : 400,
"detail" : "Tokens are accepted only in the Authorization header. The token from the query string was not used.",
"code" : "token_in_query"
}