cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Build Apps - Odata service giving 500 error in deployed version

RjainCap
Explorer
0 Kudos

I have created a build project where we are consuming an OData service using BTP destination integration.

We are able to browse real data in Data entities tab and the app preview is also showing the records from the OData service.

The issue arises when the app is deployed. OData service in the deployed version of the app throws "500 internal server error", with no error mentioned.

Please suggest what is causing this issue.

Below is the destination used for the OData service: -

URL in the destination -

Edit:

The error screenshot: -

Thanks & Regards,

Rajat Jain

Accepted Solutions (1)

Accepted Solutions (1)

RjainCap
Explorer
0 Kudos

Hi All,

Please remove the property "HTML5.forwardauthtoken" in destination. This property is needed only when using No Authentication. In this case "Basic authentication" is being used.

Thanks.

Answers (1)

Answers (1)

Venkat_Vyza
Active Participant
0 Kudos

Hi @rajat_jain_cap,

Before deployment, you built the App under Launch tab - Build your App.

Question: Which option you chose to build your App - Web or Android or iOS ?

If you chose either Android or iOS, it does NOT work as BTP Destination Authentication is currently not working on native mobile devices.

Thank you,

Venkat Vyza

RjainCap
Explorer
0 Kudos

Hi venkat_vyza,

We are doing web deployment, the issue occurs when accessing deployed app via HTML5 repo or through SAP Build workzone.

Thank you,

Rajat Jain