Transactions API will be deprecated on May 3, 2023, ahead of the Conversational Actions sunset on June 13, 2023. For more information, see
Conversational Actions sunset.
ErrorType
Stay organized with collections
Save and categorize content based on your preferences.
Enums |
ERROR_TYPE_UNSPECIFIED |
Unknown error |
NOT_FOUND |
Entity not found, could be Item, FulfillmentOption, Promotion. Entity ID required. |
INVALID |
Entity data not valid. could be Item, FulfillmentOption, Promotion. Entity ID required. |
AVAILABILITY_CHANGED |
Item unavailable, or insufficient items to fulfill the request. Entity ID required. |
PRICE_CHANGED |
Item price different from price in Item entity. Entity ID and updated price required. |
INCORRECT_PRICE |
Price errors in Fees, Total. Entity ID and updated price required. |
REQUIREMENTS_NOT_MET |
Constraints for accepting order not met - minimum basket size etc.,. |
TOO_LATE |
FulfillmentOption expired. |
NO_CAPACITY |
No available service capacity. |
INELIGIBLE |
User in-eligible to place order (blacklisted). |
OUT_OF_SERVICE_AREA |
Unable to deliver to requested address due to border rules etc. |
CLOSED |
Restaurant is closed for business at ordering time. |
PROMO_NOT_APPLICABLE |
Generic error code to catch all cases of failure to apply promo code, if none of the ones below fit. Add promo code as Entity Id. |
PROMO_NOT_RECOGNIZED |
The coupon code was not recognized by partner. Add promo code as Entity Id. |
PROMO_EXPIRED |
Could not apply as promotion expired. Add promo code as Entity Id. |
PROMO_USER_INELIGIBLE |
The current user is not eligible for this coupon. Add promo code as Entity Id. |
PROMO_ORDER_INELIGIBLE |
The current order is not eligible for this coupon. Add promo code as Entity Id. |
UNAVAILABLE_SLOT |
The order ahead slot is unavailable. |
FAILED_PRECONDITION |
Constraints for accepting order not met - minimum basket size etc. |
PAYMENT_DECLINED |
Invalid payment. |
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-09-18 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-09-18 UTC."],[[["This documentation outlines possible error types that can occur during order processing, categorized by enums."],["Errors can be related to entity issues (item, fulfillment, promotion), availability, pricing, user eligibility, service capacity, and order constraints."],["Each error type has a specific code and description, often requiring additional information like entity ID or updated price for resolution."],["Promotion-related errors have dedicated codes for various scenarios, including unrecognized, expired, or ineligible promotions."],["Payment issues are also indicated through a dedicated error code for payment declines."]]],["The provided content details possible error types, categorized as enums. Errors include `NOT_FOUND`, `INVALID`, and `AVAILABILITY_CHANGED` for entity-related issues. Price discrepancies are covered by `PRICE_CHANGED` and `INCORRECT_PRICE`. Order-specific errors encompass `REQUIREMENTS_NOT_MET`, `TOO_LATE`, `NO_CAPACITY`, `INELIGIBLE`, `OUT_OF_SERVICE_AREA`, `CLOSED`, `FAILED_PRECONDITION` and `PAYMENT_DECLINED`. Promotion-related failures are detailed, including `PROMO_NOT_APPLICABLE`, `PROMO_NOT_RECOGNIZED`, `PROMO_EXPIRED`, `PROMO_USER_INELIGIBLE`, and `PROMO_ORDER_INELIGIBLE`. There is also a `UNAVAILABLE_SLOT`.\n"]]