Common errors

The exact error messages the console and agent produce — 401, 403, timeout, 502, and the permission forbiddens — with meaning and fix.

Last updated

On this page

Match the message you see verbatim, then follow the fix. The console polls the agent's GET /metrics (and GET /health for connection tests) with Authorization: Bearer osk_…, so most failures come down to the key, your IP, or reachability.

Metrics and connection errors

These come from the metrics API itself, or from the Test connection button calling /health.

MessageMeaningFix
invalid API key (401) — check the key on the server with: openshield keyThe key saved in the console does not match the agent's keyRun openshield key on the server and re-copy the key into the console
this dashboard's IP is not in the server's metrics whitelist (403)The console's egress IP is outside metrics.whitelistAdd a covering CIDR to metrics.whitelist, then openshield reload
Timeout after 20sThe server is offline, blocks the dashboard's IPs, or is busy applying a large geo/feed updateIf it persists, set auto_fetch.mode: 'dedicated' and confirm the port is reachable
502The metrics proxy is surfacing an agent-side failureCheck the agent with openshield status, then openshield reload if the config changed

The test button reports ok, invalid API key (401), source IP not allowed (403), server returned <status>, or unreachable — the fixes above apply. For a row that stays red, see Server shows offline.

Permission and control errors

These come from the console's permission checks and the agent's control proxy.

MessageMeaningFix
forbidden: analytics access requiredYour account lacks the analytics grant; the server row shows a gray dotAsk an admin to grant analytics access under Administration
unknown control path (400)The control proxy asked the agent for a path it does not recognize — typically an older agentUpdate the agent; if the message persists, open a ticket
method not allowed (405)The control path exists but not for the method usedRetry once from the console; if repeatable, open a ticket
forbidden: <tab> read/edit required (403)Your account lacks read or edit permission on that console tabAsk an admin for the matching grant

Errors not listed here

Open a ticket with the exact message and the server name as shown in the console. Copy the message verbatim — the wording identifies which component rejected the request.

Next steps