Skip to content

api_key_invalid ​

HTTP status 401

The API key is wrong, revoked, or belongs to a suspended account.

How to fix it ​

Copy the full key (msg_<kid>_<secret>) again, or create a new one under Developers → API keys.

In the response ​

json
{
  "statusCode": 401,
  "error": "api_key_invalid",
  "message": "The API key is wrong, revoked, or belongs to a suspended account.",
  "docs": "https://docs.msgine.net/errors/api_key_invalid",
  "requestId": "req_3kX9vQ2mHf7a"
}

Include the requestId when you contact support@msgine.net. See all error codes.

Released under the MIT License.