Have you tried to check the endpoint that your is actually called by the browser when you use your app?
In my case, there was additional word ‘projects’ added. I still don’t know why…
Or maybe paste more of your code and the response then someone can better help you.