Closed Jettzett closed 3 years ago
What is the response of https://s3.eu-west-1.amazonaws.com/data.openspending.org?list-type=2&delimiter=/&prefix=datasets/&max-keys=50
looks like?
(adjust the example url to your bucket)
It should look like the response from the example url https://s3.eu-west-1.amazonaws.com/data.openspending.org?list-type=2&delimiter=/&prefix=datasets/&max-keys=50 looks like
Thank you for your reply!
The output is quite different:
`
at these lines I do the check. I can't see any problems.
May you can have a look at browser consoles network tab to debug the request and corresponding response to the bucket endpoint.
Do you host the S3 Bucket Browser HTML file a the same domain as the bucket? If not, do you allow CORS access to your bucket?
Grant Cross Origin Access by CORS Configuration
[
{
"AllowedHeaders": [
"*"
],
"AllowedMethods": [
"GET"
],
"AllowedOrigins": [
"http://www.example.com"
],
"ExposeHeaders": [
"x-amz-server-side-encryption",
"x-amz-request-id",
"x-amz-id-2"
],
"MaxAgeSeconds": 3000
}
]
It is hosted on the same domain, so it should not be necessary with CORS config :-) I cant see any problems in the console.
This bucket is hosted in eu-north, could there be policy differences between S3 regions?
so even in network tab you can see the right request and response?
if its a public bucket you may provide me the url so I can debug it.
Hi,
I have set up permissions according to the instructions.
When accessing the page I get the following error: "List Bucket response does not contain ListBucketResult tag!"
Any hints?