I get Cors error only when I try to do a POST by sending a file larger than 1MB

I get Cors error only when I try to do a POST by sending a file larger than 1MB, less than 1MB works normal.

Do you have a reproducible example you can provide to demonstrate the issue your describing ?