Skip to Content

API from OData service

Has anyone succeeded in creating an API from an on-premise odata service ?

Seems not possible with API Management Cloud Edition. I am getting the error:

Uncaught SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse (<anonymous>) at constructor.eval (apiProxy.controller.js:2076) at p (sap-ui-core.js:115) at k (library-preload.js:1991) at library-preload.js:2035 at XMLHttpRequest.p9 (datajs.js:17)

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Mar 07, 2017 at 09:35 AM

    Hello Bert,

    API Management is agnostic in regards to what format the REST API is. It may be OData, JSON, XML, ....
    To answer your primary question: yes, I have succeeded several times to create an API from an OData API.
    It should not matter if your API is implemented in the cloud or on-premises. However, I highly recommend using the cloud connector to simplify things.

    On what environment are you working? Is your tenant enabled to have the API calls over the cloud connector? AFAIK, this must be enabled for trial tenants.


    Add comment
    10|10000 characters needed characters exceeded

  • Apr 06, 2017 at 06:04 AM

    This topic has not been addressed in some time, but I will mention that the migration for Trial users to having the OnPrem connector has been completed. I have verified with Development and also personally tested on my own Trial account that it is working.

    Please reach out in case you still are having issues to .


    Add comment
    10|10000 characters needed characters exceeded