Skip to Content
1
Feb 23, 2021 at 09:44 PM

Http 502 Bad Gateway error

510 Views

Tutorials: https://developers.sap.com/tutorials/appstudio-fioriapps-create.html
--------------------------
Hello,

When i launch the application with the run configuration, the list of Suppliers is empty.

I can see that there is an error in the Chrome console , the uri to the gateway doesn't seem to be right.

This is the error message:

021-02-23 22:22:31.633929 'HTTP request failed' while processing POST sap/opu/odata/iwbep/GWSAMPLE_BASIC/$batch - {"requestUri":"sap/opu/odata/iwbep/GWSAMPLE_BASIC/$batch","statusCode":500,"statusText":"","headers":[],"body":"Error when processing resource"} sap.ui.model.odata.v2.ODataModel f @ Log-dbg.js:456

What i understand is that the uri specified in the main data Source of the manifest is not correctly converted in the real uri..

But i don't understand why because i have created the destination in my cloud cockpit and i have bound the destination in the run configuration.of the application.

I would be grateful if someone could explain me what is wrong.

Thanks

.