F
Filamentβ€’12mo ago
Wiebe

S3 cors errors (sometimes)

I'm using S3 for file uploads, but sometimes (not always) i still get CORS errors, i've set the following configuration:
[
{
"AllowedHeaders": [
"*"
],
"AllowedMethods": [
"HEAD",
"GET",
"PUT",
"POST",
"DELETE"
],
"AllowedOrigins": [
"*"
],
"ExposeHeaders": []
}
]
[
{
"AllowedHeaders": [
"*"
],
"AllowedMethods": [
"HEAD",
"GET",
"PUT",
"POST",
"DELETE"
],
"AllowedOrigins": [
"*"
],
"ExposeHeaders": []
}
]
3 Replies
giuseppemastrodonato
giuseppemastrodonatoβ€’12mo ago
Hi! Did you solve it?
Joey 😎
Joey πŸ˜Žβ€’12mo ago
Had this issue for a while but seems to have been fixed You should check your s3 provider too
Wiebe
WiebeOPβ€’12mo ago
I've fixed it. had something todo with the cloudfront settings, can't remember exactly anymore cloudfront cached the cors headers
Want results from more Discord servers?
Add your server