Three lines

Uber

Developers

Errors

Errors can and will occur for a variety of reasons.

This guide is meant to help application developers determine the appropriate workflow for a given error.

HTTP response statuses
HTTP Status Meaning Action
400 Invalid request. Fix the request; don’t retry.
401 Invalid token or missing scope. Get a valid token.
403 Forbidden. Contact your Uber contact.
404 Resource not found. Verify the request.
429 Rate limit exceeded. Wait for the window to reset.
500 Unexpected server error. Retry with backoff and jitter.
503 A dependency is unavailable. Retry with backoff and jitter.
504 A dependency timed out. Retry with backoff and jitter.
Notes on status codes
  • 400 covers a missing or invalid spatial selector, a malformed S2 token, an S2 cell at the wrong level for the endpoint, and a missing, future, or older-than-90-days snapshot_time. Retrying the same request will fail the same way.
  • 401 means the bearer token is missing, invalid, or expired, or doesn’t carry the endpoint’s scope: maps.traffic for Traffic, maps.incidents for Incidents, maps.partner.incidents for Partner Incidents. See Authentication.
  • 403 means the request is forbidden by gateway policy, or the location is outside the countries your application is approved for. Contact your Uber integration representative.
  • 404 is not the signal for an empty result set. Contact support if it persists.
  • For Report Status, 404 means the report_id does not exist, or your application did not send it.
  • 429: see Rate Limits.
  • 500, 503, 504: retry with bounded exponential backoff and jitter.
Error format

Error responses have a JSON body with a machine-readable code and a human-readable message:

{
  "code": "unauthorized",
  "message": "Invalid OAuth 2.0 credentials provided."
}

An empty result is a successful HTTP 200 response, not a 404.

Partner Incidents errors

These messages are specific to Report Incident and Report Status.

HTTP Status Message Action
400 Unsupported incident type <TYPE> Use a supported type.
400 The OpenLR location reference is invalid Check base64 and field.
400 The OpenLR location could not be decoded Check OpenLR format.
400 The OpenLR location did not match a road Check road and direction.
403 The caller is not registered for partner incidents Contact Uber.
403 The caller may not use this location Use an approved country.
404 Incident report not found Check report_id.

Retrying a report after HTTP 500, 503, or 504 does not create a duplicate.

Off-road OpenLR and HTTP 503

Some OpenLR references that are far from any road return HTTP 503 with DEPENDENCY_UNAVAILABLE instead of 400 with The OpenLR location did not match a road. This happens when map matching fails with an internal error. Retrying the same request can return the same 503. Fix the location on a known road segment.

Uber

Developers
© 2026 Uber Technologies Inc.