Upstash errors

Upstash error "WRONGPASS invalid or missing auth token": cause and fix

WRONGPASS invalid or missing auth token

Why it happens

The REST request has no token or the wrong one, often because UPSTASH_REDIS_REST_TOKEN is not loaded at runtime or the TCP password was used for HTTP.

How to fix it

Copy the URL and token from the REST tab of the Connect section and check the environment variable is set where the code runs.

When an agent hits this error

Agents that hold a raw key often respond to authentication errors by asking you to paste the key again, which puts it in the transcript. A broker that owns the key can report a typed outcome instead (wrong account, revoked key, missing permission) so the agent can say what is wrong without being handed the value. That is how BotPassword's intents report failures.

Everything about Upstash API keys

Give agents access. Keep the keys.

BotPassword is in early access. Request an invite and we'll email you when your spot opens.