---
title: 5001: File upload failed | API Docs
description: File upload failed due to network or storage issues.
---

File upload failed due to network or storage issues. This is an HTTP 500 error indicating the file could not be stored.

## Troubleshooting

- Retry the upload (or the message that contained the attachment)
- Check file size limits

## Related

- [Attachments](/guides/messaging/attachments/index.md)
- [API reference: Attachments](/api/resources/attachments/index.md)
- [Debugging](/guides/platform/debugging/index.md)
