attachment_removed
HTTP 410 · The attachment file was deleted: files of verification-code mail are kept for 7 days.
Endpoints: GET /v1/messages/{id}/attachments/{att}
When it happens
Section titled “When it happens”| When | Message (as returned) | Fix (as returned) |
|---|---|---|
The file was deleted by retention. Attachments of verification-code mail are kept for 7 days; the message’s metadata stays, with removed: true on the attachment. |
This attachment was deleted: files of verification-code mail are kept for 7 days. |
Nothing to retry. The message's metadata stays; ask the sender to send it again if you still need it. |
What to do
Section titled “What to do”- Check
removedon the attachment inGET /v1/messages/{id}before downloading. If it istrue, the file is gone for good.
Example
Section titled “Example”{ "type": "https://docs.replyz.io/errors/attachment_removed", "code": "attachment_removed", "status": 410, "message": "This attachment was deleted: files of verification-code mail are kept for 7 days.", "fix": "Nothing to retry. The message's metadata stays; ask the sender to send it again if you still need it.", "docs": "https://docs.replyz.io/errors/attachment_removed.md"}See also
Section titled “See also”All codes: Errors.