// troubleshooting guide · upstash

Upstash WRONGPASS Invalid or Missing Auth Token

Status
Workaround available
platforms:
REST API, @upstash/redis, Vercel, Cloudflare Workers
updated:
November 15, 2026
reports:
3
Method
how we research
Share

RUNBOOK · upstash/wrongpass-invalid-auth-token4 FIXES

// quick answer

The REST request has no token or the wrong one. Set UPSTASH_REDIS_REST_TOKEN (the HTTP token, not the TCP password) from the Console's REST tab and make sure your deployment loads it at runtime.

Most likely fix: Copy the correct REST credentials

How to fix it

// try these in order, the most common fix is first

  1. FIX 1Copy the correct REST credentials

    1. 01Upstash Console > database > Connect
    2. 02Open the REST tab
    3. 03Copy UPSTASH_REDIS_REST_URL and UPSTASH_REDIS_REST_TOKEN together (from the same database)
    Did this fix it?
  2. FIX 2Set the variables where the code runs

    1. 01Add both to Vercel/Netlify/Cloudflare environment settings for the right environment (Production, Preview)
    2. 02Redeploy so the new values are picked up
    3. 03For Cloudflare Workers, use wrangler secret put
    Did this fix it?
  3. FIX 3Use the JavaScript snippet

    1. 01In Connect, select the JavaScript tab and copy the ready-made client config to rule out typos
    Did this fix it?
  4. FIX 4Check token type

    1. 01If writes fail but reads work, you're using the read-only token: switch to the standard token
    Did this fix it?

Symptoms

Requests fail with 'WRONGPASS invalid or missing auth token' or HTTP 401 Unauthorized from the Upstash REST endpoint; works locally but not in production.

Why it happens

  • C-01UPSTASH_REDIS_REST_TOKEN not set in the production environment
  • C-02Using the TCP password instead of the REST token
  • C-03Token from another database or a rotated/reset password
  • C-04Read-only token used for write commands

// this guide also covers

  • upstash wrongpass
  • wrongpass invalid or missing auth token
  • upstash 401 unauthorized
  • upstash redis unauthorized

Still not working?

If Upstash keeps failing, you're not alone. See every Upstash problem users report or the alternatives people switch to.

Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.

Talk to us

Watch Upstash Get an email when its price changes, it has an outage, or we publish a new fix. No spam.

Fixed it? Share this guide

The same problem in other apps

All missing or lost data guides →

Other Upstash errors

All 11 Upstash errors and fixes →