File upload fails with Error: Request failed with status code 403

I have exactly the same problem → works locally but not on the deployed app. Have you been able to solve it?