| Previous | Next |
| HTTP_STATUS_HTTP_TO_HTTPS_PORT | HTTP_STATUS_TOKEN_REQUIRED |
HTTP_STATUS_INVALID_TOKEN
ArcGIS uses 498 when a token was present but cannot authorize the request. It is distinct from ArcGIS 499, where the token is absent.
Refresh or reacquire the token through the supported authentication flow, then verify its scope, issuer, expiration, and audience. Do not log the token itself while diagnosing the response.
Treat the token as a credential: do not paste it into logs or diagnostic URLs. Compare server time with token expiry, ensure the token was issued for the intended ArcGIS service, and use the supported refresh or sign-in path. Repeating a request with the same invalid token will continue to fail.
Looking for a different code? Search another status or error code.