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": []
    }
]
Was this page helpful?