-
Notifications
You must be signed in to change notification settings - Fork 578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
S3 listBuckets CORS is not available #6608
Comments
S3 allows CORS supported to be enabled and configured on a bucket by bucket basis, but as far as I know, there is no way to enable CORS for bucket-level operations (e.g., |
I suppose this is the case with a number of sdk Methods. It would be helpful if CORS limitations could be included in the SDK docs. |
Hey @RoboSparrow, I believe this is a very valid request. Maybe we can add a note in docs that the service doesn't support cors. You can always check the CORS support by yourself here. The specific service supports CORS if it specifies |
@AllanFly120 that file has listed s3 as supporting cors since sept. 2016. |
Yes, I was just replying to allans comment that you can see if CORS has support in that file, which clearly you can't in this case, hence this issue 😉 |
+1 for this feature request |
1 similar comment
+1 for this feature request |
There might be valid reasons not to enable CORS for some operations. It would be good to have these labelled clearly in "Method Summary" section for each service class and the method section itself. Yes, CORS limits are mentioned int the installation section. But hey, most of us read that section only once. The problem is that we usually just jump right to the method |
i am getting following error
|
Is there any chance that this functionality, though not currently supported, could be added? It's something that I at least know my project would benefit greatly from, as our target user aren't too technical and if we could simply skip the step of them having the "aws ls" in their terminal, that would be excellent. |
+1, I want to create an in-browser app that provides my own custom UI for viewing / navigating information across buckets in an account. I suppose I could proxy a request Lambda via API Gateway and have the Lambda make the call on my behalf, but would much prefer to do it natively in the front-end code (using Cognito / federated identity pools) |
Please add CORS support for |
Greetings! We’re closing this issue because it has been open a long time and hasn’t been updated in a while and may not be getting the attention it deserves. We encourage you to check if this is still an issue in the latest release and if you find that this is still a problem, please feel free to comment or open a new issue. |
Apparently no one at AWS deems it important enough to give this any attention in the last three years. And now there is a bot that auto-closes "old" issues that no one cares about. 👍 Great job AWS! |
Hey @kesor, apologies that the issue was not added to auto exempt, usually the bot is actually for issues where there has been no response from the customer and is just a low hanging fruit in the repo, with that being said, looking at the comments, were you able to open any requests at the forum mentioned? If not, I can open a ticket internally. |
At the time of the issue I opened all possible tickets, created a forum post with the S3 service forum, etc... nothing happened still. Feel free to open additional tickets. It is not the tickets that resolve the issue, it is the adding of two lines to the API output of S3 service for CORS. |
@kesor, apologies again, unfortunately it has to be enabled by the S3 team, I have reached out to the team, will get back to you as soon as I have an answer. |
Probably too old, but it would be nice to list buckets without the CORS headache. The work around to manage available buckets in a json file in a created (well known) bucket will have to suffice for now. |
Greetings! We’re closing this issue because it has been open a long time and hasn’t been updated in a while and may not be getting the attention it deserves. We encourage you to check if this is still an issue in the latest release and if you find that this is still a problem, please feel free to comment or open a new issue. |
Another year, another lack of CORS in S3 APIs. It literally takes ten minutes to test and deploy such a change. |
I was disappointed with the efficiency of AWS |
Still waiting on this one |
A couple more people struggling with AWS, for reference: |
Come on it's been 5 years now, can we please have CORS on bucket level operations? |
Having the same issue, it seems impossible to use this request in React. |
Any update on this? |
Hi All, I'm going through older issues and came across this. After reproducing this I can see that this remains an issue and is a broader problem and not an SDK specific issue. I cannot commit to S3 adding the CORS header to the responses from I have created an internal ticket ( I will transfer this issue to the JS SDK v3 repo to make it more discoverable. Thanks, |
According to SERVICES.md the S3 service is CORS enabled. And yet calling
listBuckets
when usingaws-sdk.js
in a browser, fails to work because the services is not enabled with CORS.I'm using
aws-sdk.js
versionThe code running in the browser is just
Getting this result in the console
The text was updated successfully, but these errors were encountered: