Routes Preferred API is currently available only to select customers.
Contact sales to learn more.
FallbackReason
Stay organized with collections
Save and categorize content based on your preferences.
Reasons for using fallback response.
Enums |
FALLBACK_REASON_UNSPECIFIED |
No fallback reason specified. |
SERVER_ERROR |
A server error happened while calculating routes with your preferred routing mode, but we were able to return a result calculated by an alternative mode. |
LATENCY_EXCEEDED |
We were not able to finish the calculation with your preferred routing mode on time, but we were able to return a result calculated by an alternative mode. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-23 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-23 UTC."],[[["Fallback responses are used when the preferred routing mode encounters issues like server errors or latency exceeding limits."],["If a fallback response is used, it indicates a result was successfully calculated using an alternative routing mode."],["The specific reason for using a fallback response is indicated by enums like `SERVER_ERROR` or `LATENCY_EXCEEDED`."]]],[]]