498 HTTP Origin: Network OSI layer 7 · Application Last updated 18 Nov 2026

HTTP 498 Invalid Token

A non-standard code (used by Esri/ArcGIS and some APIs) meaning the access token is expired or invalid.

Exact message you may see HTTP 498 Invalid Token498 Invalid Token ArcGISstatus 498 token expired
Seen on: HTTP REST API

Meaning

Request a new token and retry. Check token expiry, that the token is sent in the expected parameter/header, and clock drift between client and server.

Common causes

  • Token expired
  • Token malformed or revoked
  • Wrong parameter/header name
  • Clock skew
  • Token for another service

⚡ Quick fix

  1. Obtain a fresh token
  2. Send it in the documented header/parameter
  3. Sync the client clock

Detailed fix by platform

cURL

  1. curl -i "https://gis.example.com/arcgis/rest/services?f=json&token=NEWTOKEN"

How to diagnose

  1. Token — Expired?
  2. Delivery — Right header?
  3. Clock — In sync?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: Network. Errors that are often confused with or caused by this one (click to open):

218 — HTTP 218 This is fine (Apache) (HTTP)218401 — HTTP 401 Unauthorized (HTTP)401401 — 401 Bearer error="invalid_token" (HTTP)401420 — HTTP 420 Enhance Your Calm (HTTP)420440 — HTTP 440 Login Time-out (IIS) (HTTP)440449 — HTTP 449 Retry With (HTTP)449TokenExpiredError — JWT Expired / Invalid Token (Authentication)TokenExpiredError498

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.