Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Enumeration members

INVALID_REQUEST

INVALID_REQUEST: = "INVALID_REQUEST"

indicates that the provided request was invalid.

MAX_ROUTE_LENGTH_EXCEEDED

MAX_ROUTE_LENGTH_EXCEEDED: = "MAX_ROUTE_LENGTH_EXCEEDED"

indicates the requested route is too long and cannot be processed. This error occurs when more complex directions are returned. Try reducing the number of waypoints, turns, or instructions.

MAX_WAYPOINTS_EXCEEDED

MAX_WAYPOINTS_EXCEEDED: = "MAX_WAYPOINTS_EXCEEDED"

indicates that too many waypoints were provided in the request. For applications using the Directions API as a web service, or the directions service in the Maps JavaScript API, the maximum allowed number of waypoints is 23, plus the origin and destination.

NOT_FOUND

NOT_FOUND: = "NOT_FOUND"

indicates that the referenced location (place_id) was not found in the Places database.

OK

OK: = "OK"

indicates the response contains a valid result.

OVER_DAILY_LIMIT

OVER_DAILY_LIMIT: = "OVER_DAILY_LIMIT"

indicates any of the following:

  • The API key is missing or invalid.
  • Billing has not been enabled on your account.
  • A self-imposed usage cap has been exceeded.
  • The provided method of payment is no longer valid (for example, a credit card has expired). See the Maps FAQ to learn how to fix this.

OVER_QUERY_LIMIT

OVER_QUERY_LIMIT: = "OVER_QUERY_LIMIT"

indicates the service has received too many requests from your application within the allowed time period.

REQUEST_DENIED

REQUEST_DENIED: = "REQUEST_DENIED"

indicates that the service denied use of the Distance Matrix service by your application.

UNKNOWN_ERROR

UNKNOWN_ERROR: = "UNKNOWN_ERROR"

indicates a Distance Matrix request could not be processed due to a server error. The request may succeed if you try again.

ZERO_RESULTS

ZERO_RESULTS: = "ZERO_RESULTS"

indicates that the request was successful but returned no results.

Generated using TypeDoc