Skip to content

wrong_token_type

403 · This is not a key for the public API.

A token of another kind was passed, such as a dashboard or widget token. The public API accepts only dnt_… keys from the «Разработчикам» (Developers) section.

Use a secret key dnt_pat_… or a public key dnt_pk_…. How to issue one: keys.

application/problem+json
{
"type" : "https://developers.donatty.com/errors/wrong_token_type",
"title" : "Wrong token type",
"status" : 403,
"detail" : "Public API routes accept only Donatty app tokens (dnt_...); other routes never accept them.",
"code" : "wrong_token_type"
}