Order Error Codes - Fabric

Order Module Errors

The following errors are specific to the Order module. The %s in error messages are placeholders used to indicate where a specific value, such as an Order ID or an item name, will be inserted when the actual error message is displayed. For example, if the error is “The order with order ID %s is not in amendable status,” and the Order ID is 12345, the displayed message would become “The order with order ID 12345 is not in amendable status.”

Module Error Code Message
Order ORDER-2001 The order cannot be cancelled as no line items are available for cancellation.
Order ORDER-2002 The order with order ID %s is not in amendable status.
Order ORDER-2003 The order status is already CONFIRMED or CANCELED.
Order ORDER-2004 The order has already been cancelled.
Order ORDER-2005 A valid payment counter must be present for this operation.
Order ORDER-2006 An authorization request is already in progress for this order.
Order ORDER-2007 No refundable amount was found for the order.
Order ORDER-2008 The appeasement amount is greater than the refundable amount.
Order ORDER-2009 Order cannot be cancelled: no line items available for cancellation.
Order ORDER-2010 Order cannot be cancelled: requested line item %s not eligible for cancellation.
Order ORDER-2011 Order cannot be cancelled: requested line item %s does not exist or is already cancelled.
Order ORDER-2012 Order cannot be cancelled: requested quantity not available for cancellation for line Item %s.
Order ORDER-2013 Requested refund amount not available for item with lineItemId %s.
Order ORDER-2014 Shipping update failed: No items in this order are eligible for a shipping address change.
Order ORDER-2015 The order is no longer eligible for shipping info updates.
Order ORDER-2016 The order is not eligible for adding new items: %s.
Order ORDER-2021 Exchange item quantity does not match the item’s pending exchange quantity: %s.
Order ORDER-2022 Exchange item quantity does not match the item’s ordered quantity: %s.
Order ORDER-2023 Exchange item quantity does not match the item’s pending quantity: %s.
Order ORDER-2031 Return quantity exceeds available quantity for item %s.
Order ORDER-2032 Return amount exceeds invoiced amount for item %s.
Order ORDER-2033 Total refund amount is greater than the charged amount.
Order ORDER-2034 Return amount exceeds available refund amount for item %s.
Order ORDER-2035 Items received in return request do not match the original order details.
Order ORDER-2036 Invalid refund status for operation.
Order ORDER-2037 Return cannot be processed as order is in invalid state.
Order ORDER-2038 Exchange validation failed: %s.
Order ORDER-2039 Refund amount exceeds available payment amount.