Skip to content

key_rejected

The provider refused the API key

BetaAPI v2 is in public beta: endpoints, fields and behaviour can change before general availability. See the changelog

Last updated

Code: key_rejected · HTTP status: usually 422

The integration provider rejected the API key. Nothing was saved.

Check the key in the provider’s dashboard and send it again.

{
"code": "key_rejected",
"type": "https://docs.stoqapp.com/v2/docs/api-v2/errors/key-rejected/",
"title": "The provider refused the API key",
"status": 422,
"detail": "Klaviyo refused this API key. Nothing was saved. Check the key in the provider's dashboard and send it again.",
"errors": [
"Klaviyo refused this API key. Nothing was saved."
],
"details": [
{
"code": "key_rejected",
"message": "Klaviyo refused this API key. Nothing was saved.",
"path": "api_key",
"value": null,
"expected": null
}
],
"path": "api_key"
}

Every API v2 and MCP failure carries code and a type link to its page here. See Errors & Responses for the full envelope.

Was this page helpful?

Still stuck? Ask Quinn or chat with support