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
API v2
stoqapp.comAbout STOQContactPrivacy policyHelp center
The provider refused the API key
Section titled “The provider refused the API key”Code: key_rejected · HTTP status: usually 422
The integration provider rejected the API key. Nothing was saved.
How to fix
Section titled “How to fix”Check the key in the provider’s dashboard and send it again.
Example response
Section titled “Example response”{ "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?
Thanks for letting us know.
Still stuck? Ask Quinn or chat with support