Skip to content

origin_not_allowed

403 · The website address is not allowed for this key.

A request with the public key came from an address (Origin) that is not in the key’s address list. In a browser you will see a CORS error or TypeError: Failed to fetch instead of this response: the browser does not show a 403 to the page.

In the «Разработчикам» (Developers) section press «Настроить ключ» (Configure key) on the public key and add the exact website address: protocol, domain and port, no path. Then press «Сохранить адреса» (Save addresses). The key itself does not need to change.

Open Developers in your dashboard
application/problem+json
{
"type" : "https://developers.donatty.com/errors/origin_not_allowed",
"title" : "Origin not allowed",
"status" : 403,
"detail" : "This publishable key accepts requests only from the origins allowed for its app.",
"code" : "origin_not_allowed"
}