Skip to content

ERROR CODE / WRITE_KEY_INVALID

The write key used is invalid or revoked

The key submitted does not belong to any active website, or it was revoked.

01

What is missing while this finding stands

No events are stored for this website.

02

How to fix it

  1. 01

    Open “Setup” and create a new write key. An existing key cannot be shown again, and the previous one is revoked in the process.

  2. 02

    Replace the key everywhere the old one is installed: in your tag or snippet.

  3. 03

    Publish the change and check in the “Live test” that events arrive again.

03

WRITE_KEY_INVALID

Severity
critical
Collector response
HTTP 401

All error codes at a glance

See what your data tells you.

Look around in the demo first. Your own account is currently available by invitation only.

Open the demoRequest access