Docs

Invalid API key

The API key used for your request isn't valid.

Example response
{
"error": {
"type": "request_error",
"code": "invalid_token",
"detail": "Invalid or revoked API key.",
"documentation_url": "https://developer.paddle.com/errors/shared/invalid_token"
},
"meta": {
"request_id": "00000000-0000-0000-0000-000000000000"
}
}

Details

Status code
403
Error code
invalid_token
Error message
Invalid or revoked API key.

Common causes

  • The API key you used isn't correct.
  • If the API key worked previously, it may have been revoked.
  • The API key you specified is for another environment. For example, you're trying to work with sandbox using a live API key.

Troubleshooting

  • Check that the API key exists in your Paddle Dashboard.
  • Create a new API key, or copy the existing key again from your Paddle Dashboard.
  • Check that you're using the correct API key for the environment.

Was this page helpful?