Getting CORS error while uploading images

Hello,
I have web_only setup earlier i was using local storage for uploads now i have configured S3 credentials for uploads but getting CORS error while uploading images.

There’s not enough detail in your post to know how to solve the problem. You might find more information in the error logs (/logs/).

Have you followed the guide for using S3 for image uploads?