Firebase storage file upload not working cause by cors policy. #59865
Unanswered
FlyingTurkman
asked this question in
Help
Replies: 1 comment 6 replies
-
How are you uploading/writing your data to firebase? Might be related to that, happy to help! |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I tried many methods for upload file to firebase storage and getting cors error. With Next.js 12 I developed a lot of softwares and used firebase storage.
Here cors config file at firebase
Is there anybody face with this issue?
Additional information
Here error message
Access to XMLHttpRequest at 'https://firebasestorage.googleapis.com/v0/b/%22xxx.appspot.com%22/o?name=test123.jpg' from origin 'https://xxx.vercel.app' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions