F
Filamentβ€’7mo 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β€’6mo ago
Hi! Did you solve it?
Joey 😎
Joey πŸ˜Žβ€’6mo ago
Had this issue for a while but seems to have been fixed You should check your s3 provider too
Wiebe
Wiebeβ€’6mo ago
I've fixed it. had something todo with the cloudfront settings, can't remember exactly anymore cloudfront cached the cors headers