cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to access oData in NodeJS server getting error your browser does not support javascript

himanshu_mundra1
Explorer
0 Kudos

Hello All,

I have exposed my odata using Odata Provisioning and API management. When i am trying to access the service using basic authentication it is giving response 200 but giving output as "Your browser does not support JavaScript or it is turned off. Press the button to proceed"

I have tried in postman also throwing same error.

Thank you in advance.

Accepted Solutions (1)

Accepted Solutions (1)

abdel_dadouche
Active Contributor

Hi himanshu.mundra

Usually the Your browser does not support JavaScript or it is turned off. Press the button to proceed. error is due to a failure to authenticate and actually redirects you to the login page.

I think the following page explains the flow: https://help.sap.com/viewer/a7c6d8a0bd1f415887f6246d8cf8e68e/Cloud/en-US/eeef740e63d143059892c93ed3c...

Basically, to call you OData Provisioning service, you will need to provide credentials to a SAP Cloud Platform user account that holds the GW_Role (I think) and not to your SAP Gateway system.

Now talking about Postman, if you want to execute a POST/PUT/DELETE, you will first need to fetch a X-CSRF-Token before being able to execute any kind of changes in your data.

https://help.sap.com/viewer/a7c6d8a0bd1f415887f6246d8cf8e68e/Cloud/en-US/d2e706bd63c043c7b7ae1d2dc83...

Also when putting the OData Provisioning destination URL make sure to append /sap/iwbep?sap-client=xxx at the end with the relevant client id

gayal_dassanayake
Discoverer
0 Kudos

Hi Abdel,

Although we have SAP TDD license, https://help.sap.com/viewer/a7c6d8a0bd1f415887f6246d8cf8e68e/Cloud/en-US/eeef740e63d143059892c93ed3c... cannot be accessed due to me being not authorized. What can I do to get access to the above document?

Answers (1)

Answers (1)

abdel_dadouche
Active Contributor
0 Kudos

Hi gayal_dassanayake

I've left SAP for 4 yrs now, and don't have access either. Sorry about that.

Can you ping one of the Developer Advocate team member: https://developers.sap.com/developer-advocates.html ?

Hope they will be able to figure it out for you.

gayal_dassanayake
Discoverer
0 Kudos

Thanks Abdel. dj.adams.sap any help on this is appreciated.