Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
R2 Object Storage - 500 Error - Cloudflare Developers
CD
Cloudflare Developers
โข
2y ago
โข
1 reply
avidrunner
R2 Object Storage - 500 Error
I am experiencing the following error when I try to upload an image to R2 within PayloadCMS
. Not sure how to resolve this
.
Here is the
/package
.json file
:
https://jsbin.com/vozasahevi/edit?js
And here is the
/src
/payload
.config
.ts file
:
https://jsbin.com/deyowizahi/edit?js
The
/
.env file contains CLOUDFLARE
_ENDPOINT
, CLOUDFLARE
_ACCESS
_KEY
_ID
, CLOUDFLARE
_SECRET
_ACCESS
_KEY
, and CLOUDFLARE
_BUCKET
JS Bin
A live pastebin for HTML
, CSS
& JavaScript and a range of processors
, including SCSS
, CoffeeScript
, Jade and more
.
.
.
JS Bin
A live pastebin for HTML
, CSS
& JavaScript and a range of processors
, including SCSS
, CoffeeScript
, Jade and more
.
.
.
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
R2 object storage
CD
Cloudflare Developers / general-help
8mo ago
Changing R2 Object Storage Class
CD
Cloudflare Developers / general-help
11mo ago
R2 storage
CD
Cloudflare Developers / general-help
2mo ago
cloudflare r2 storage
CD
Cloudflare Developers / general-help
12mo ago