Skip to content
Error codes · Authentication & API keys

RU-1002: Invalid or revoked API key

An Authorization header was present, but the key it carried does not match any live API key. realuptime deliberately does not say which of invalid or revoked applies.

On the wire

Ships with HTTP status 401, carrying "code": "RU-1002" in the response body alongside the human-readable error message. Existing fields are never replaced by the code: it is additive.

Common causes

  • The key was revoked from the dashboard.
  • The key was mistyped, truncated, or had whitespace added when copied.
  • The key belongs to a deleted account.

How to fix it

  1. Check the key against the API & MCP access section of your dashboard.
  2. If the key was revoked, generate a new one and update every consumer.
  3. Repeated failures from one address are rate limited: fix the key before retrying in a loop.

Related codes

  • RU-1001: Missing API credentials
  • RU-2001: Too many failed authentication attempts

Still stuck?

Ask support and mention RU-1002: the code pins down the exact refusal path, so you skip the diagnostic back-and-forth.