cancel
Showing results for 
Search instead for 
Did you mean: 

Why doesn't SAP CI OData API v1 working using the OData adapter anymore?

codrinstrimbei2
Discoverer

Hello,

I have tried to use the SAP CI OData API(https://api.sap.com/package/CloudIntegrationAPI/odata) for exploring one of it's capabilities and it seems it is not behaving same as before.

While trying to fetch the Metadata in the OData adapter v2, it is always failing with the error WstxUnexpectedChar exception. This seems to happen because the service returns an html page instead of what is requested. Same behaviour in Postman and described also by someone else here(https://stackoverflow.com/questions/76601013/get-request-to-api-with-basic-authentication-works-with-browser-but-not-in-postm)

"<html><head> <link rel="shortcut icon" href="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" /><script> document.cookie="fragmentAfterLogin="+encodeURIComponent(location.hash)+";path=/";document.cookie="locationAfterLogin="+encodeURIComponent(location.href.split('#')[0].split(location.host)[1])+";path=/";document.cookie=""

It seems related to Cookies, but I find no information on the SAP pages for how to fix it. Do you have any information?

codrinstrimbei2
Discoverer

Accepted Solutions (0)

Answers (0)