You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
Hi everyone,
Having CORS issues with my project I was wondering if anyone knows how to enable CORS in (Node JS) Google App Engine.
Thank you ;)
Kenworth (Google Cloud Platform)
unread,
Sep 17, 2017, 6:42:09 PM9/17/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
You do not need to add any new code to take advantage of CORS support on Google App Engine, it will simply work as expected for Cloud Storage buckets configured with CORS. This article discusses Cross-Origin Resource Sharing (CORS) in more detail.
Terry Di Luzio
unread,
Sep 18, 2017, 9:02:49 AM9/18/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
Hi Kenworth,
thank you for your answer. So if I have an error: "Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource" my ExpressJS API CORS config is causing it ?
I've tried everything I could to reproduce it locally; it is as if my CORS config is omitted once deployed.
Kenworth (Google Cloud Platform)
unread,
Sep 18, 2017, 7:50:57 PM9/18/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-a...@googlegroups.com
Make sure you have supplied the CORS configuration data with the request, which specifies all the origins and request methods that are allowed to access the buckets. Can you send privately the redacted CORS config and HAR file of the request? Are you using resumable upload protocol?