> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: "OrderFailedOrderEvent"
description: "Represents a status for a failed order."
---

## Fields

***

<ParamField path="id" type="ID!" required>
  The unique identifier of the event.
</ParamField>

<ParamField path="createdAt" type={<a href="/api-reference/time">Time!</a>} required>
  The time the order event was created.
</ParamField>

<ParamField path="reason" type="String!" required>
  The reason for the order failure.
</ParamField>

<ParamField path="reasonCode" type={<a href="/api-reference/orderfailedreasoncode">OrderFailedReasonCode!</a>} required>
  A standardized code categorizing the type of order failure.
</ParamField>

<ParamField path="retryable" type="Boolean">
  Indicates whether Rye recommends retrying the order.

  Learn more about handling failed orders in [error handling](/get-started/ordering/handling-errors) guide.
</ParamField>

## Related types

* [`OrderEvent`](/api-reference/orderevent)


---

*Powered by [holocron.so](https://holocron.so)*
