# UPLOAD_FAILED_REASON

<!-- https://uncage.vercel.app/docs/api/react/variables/upload_failed_reason/ -->

```ts
const UPLOAD_FAILED_REASON: "attachment_upload_failed" = 'attachment_upload_failed';
```

Defined in: react/src/store.ts:156

`details.reason` of the store's own error for a send blocked by an attachment whose upload
failed (code `invalid_request`, `details.name` = the file name), so UIs can localize it.
