Skip to content

ERROR CODE / SERVER_KEY_INVALID

The server key used is invalid or revoked

The key from the Authorization header belongs to no active website, has been revoked or has expired. A write key from the browser does not work here.

01

What is missing while this finding stands

Your server reports no purchases or refunds; none of them is stored.

02

How to fix it

  1. 01

    Open “Setup”, tab “Server Events API”, and create a server key there or generate a new one.

  2. 02

    Enter it on your server, for example as METRUNIO_SERVER_KEY, and send it as “Authorization: Bearer …”.

  3. 03

    Then send a test order with environment “test” and check it under “Events”.

03

SERVER_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