S3 CORS

when trying to upload to s3 bucket got this error in my console:
"Access to fetch at 'https://kno-buckets.s3.amazonaws.com/profile-photos/51/Kavitha-Rajendran-Mudaliar.jpg' from origin 'https://sms.test' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled."

though the image is uploaded on the s3 bucket but can't be retrieved.
Solution
Do you have visibility set to private on the File component?
Was this page helpful?