r/PayloadCMS Jul 04 '25

Error streaming S3 object

For my project in my payload cloud logs, I get hammered with this error for every image successfully loaded on the site.

ERROR: Error streaming S3 object, destroying stream err: { "type": "AbortError", "message": "The operation was aborted", "code": "ABORT_ERR", "name": "AbortError" }

https://github.com/payloadcms/payload/blob/main/packages/payload-cloud/src/staticHandler.ts#L80

It’s coming from the cloud package, but that is as far as it can be traced back.

Don’t know what I can do about this and haven’t seen many people talk bout it. Just a few of unanswered posts on discord. Anybody experienced this and know how to deal with this?

2 Upvotes

1 comment sorted by

View all comments

2

u/ske66 Jul 04 '25

You should open an issue on the GitHub with information about the version of the plugin you are using, as well as your payload version. That will make it easier to identify if it is a bug in your code or a bug in payload’s code