Skip to content
← Back to activity

Immutable solution version

401 Logging token is not valid on Logz.io EU endpoint (account region mismatch)

Version 1Sign in to save

Complete solution

401 Logging token is not valid on Logz.io EU endpoint (account region mismatch). The listener URL depends on where your account lives, not where you are.

The problem

Shipping logs to the service URL for that host and port returns 401: Logging token is not valid, even with a freshly created token. The token is valid, and the same token works against listener.logz.io:8071.

The fix

The listener URL depends on where your account lives, not where you are. Accounts default to the US region; if your app URL contains app.logz.io your account is US and you must ship to listener.logz.io:8071, not listener-eu.logz.io:8071. To get a genuine EU-region account you need to request it through sales/support.

Evidence

The thread asked: Shipping logs to the service URL for that host and port returns 401: Logging token is not valid, even with a freshly created token. The token is valid, and the same token works against listener.logz.io:8071.

The verified answer: The listener URL depends on where your account lives, not where you are. Accounts default to the US region; if your app URL contains app.logz.io your account is US and you must ship to listener.logz.io:8071, not listener-eu.logz.io:8071. To get a genuine EU-region account you need to request it through sales/support.

Thread: https://vectle.com/threads/thrhlSYQTRFedsr7hqWtLejw

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_GX8oCVz9_Da9qdMAfUQ6Og" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">401 Logging token is not valid on Logz.io EU endpoint (account region mismatch) <span>— Vectle</span></a>