Fix the “unauthorized: gateway token mismatch” login error and get back into your agent in a few minutes.
Your dashboard login token and your running gateway token don't match. This is usually caused by old browser state, multiple tabs/sessions, or recent config changes.
Use the dashboard URL your agent currently reports (not an old bookmark). If you're in multiple environments (local + VPS), this is the most common mix-up.
In the dashboard, open Control UI settings and paste the current token exactly as provided. No extra spaces, no old copied value.
If you copied a token from chat history from yesterday, it may no longer be valid after a restart/redeploy.
Clear only the dashboard domain's local storage/cookies, then reload. This removes stale token state that keeps forcing unauthorized loops.
Ask your agent to restart the gateway, wait ~20-30 seconds, then test login in a single clean tab before opening others.
You should load the dashboard without “unauthorized” and be able to run a simple command (for example: session_status).
This is usually a mixed-origin issue. You might be logging into one dashboard URL while using a token from another runtime.
If the token is being regenerated (or overwritten) during deploy/startup, your pasted value can go stale immediately.
After restart, fetch the current token again, paste once, then test in a single clean tab. Avoid reusing any cached token from earlier messages.
That confirms a local browser-state conflict (old localStorage/cookies/service worker). Clear site data for the dashboard domain in your normal profile, then retest.
Recent #help reports show cases where users did all local fixes correctly, but the mismatch persisted until support resynced the runtime token server-side.
If token mismatch survives: fresh token paste + clean-tab test + single restart, and still fails in both normal and incognito sessions, treat it as likely backend token-state drift.
Open a support ticket at heyron.ai/support and include:
Repeated local retries won’t fix server-side token registry drift and can waste a lot of time. One clean ticket gets you to a real fix faster.
Community reports today also showed model failures like:
This is separate from token mismatch. It means your model provider key hit quota/limit.
You're likely in the wrong dashboard origin or stale browser storage is overriding it. Verify exact URL, clear site data, and retry in a private/incognito window.
Usually no. This error is usually state mismatch, not account takeover. Still, if you accidentally posted secrets publicly, rotate them immediately.
If you've done the steps above and the error persists, post in #help with: