498 Invalid Token

ArcGIS code for an expired or otherwise invalid authentication token.

Status

HTTP/1.1 498 Invalid Token

Details

Esri's ArcGIS Server returns 498 when a token is present but invalid or expired. It pairs with 499, which that platform uses when no token was supplied at all.

Both are specific to ArcGIS. Elsewhere in the industry, 499 has a completely different nginx meaning, which is a good reason to check the server software before interpreting either.

Common causes

How to fix it

As the client

As the server

Examples

GET /arcgis/rest/services/Map/MapServer?token=expired HTTP/1.1
Host: gis.example.com

HTTP/1.1 498 Invalid Token

See also