I needed to change my AWS S3 bucket CORS policy to enable the upload of files for my ReactJS to AWS S3, but I keep getting this API response:
Expected params
We encountered the same error. We needed two fixes. (Not sure if this is helpful in your case):