Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
I am having a problem uploading files to my r2 bucket from my running server in my PC. - Cloudflare Developers
CD
Cloudflare Developers
•
17mo ago
•
8 replies
Júlio Mühlbauer
I am having a problem uploading files to my r2 bucket from my running server in my PC.
I am having a problem uploading files to my r2 bucket from my running server in my PC
.
I can upload from my notebook
, but not on my desktop
.
Error
:
Access to fetch at
'
https://assets.1bcd53a1084b67fa3ddf1a0699695e41.r2.cloudflarestorage.com/listings/6fbc9c1c0163001bfa55/fb2f1779-dc0f-4a5e-b985-ad3deb6802a3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=31ebe7697dfe3b67c1dfc8f7deabc836%2F20240928%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20240928T221701Z&X-Amz-Expires=60&X-Amz-Signature=1fc3a9ba142244b76db925a3563f03a7ce26534621c0624dd56eafa025b4b453&X-Amz-SignedHeaders=host&x-id=PutObject
' from origin
'
http://localhost:3000
' has been blocked by CORS policy
: No
'Access
-Control
-Allow
-Origin
' header is present on the requested resource
. If an opaque response serves your needs
, set the request
's mode to
'no
-cors
' to fetch the resource with CORS disabled
.
My R2 CORS
:
{
"AllowedOrigins
"
:
[
"
"
]
,
"AllowedMethods
"
:
[
"GET
"
,
"PUT
"
,
"DELETE
"
]
,
"AllowedHeaders
"
:
[
"
"
]
,
"MaxAgeSeconds
"
: 3000
}
]
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
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Next.js getPlatformProxy R2 binding not uploading to bucket?
CD
Cloudflare Developers / workers-and-pages-help
2y ago
I am trying to test locally getting a file from R2 bucket which i added via dashboard
CD
Cloudflare Developers / workers-and-pages-help
2y ago
Slow uploads of files from the client browser to the R2 bucket using a presigned URL.
CD
Cloudflare Developers / workers-and-pages-help
2y ago