Invoking OData API


I am trying to get data source from a OData API. Since OData is REST only I was expecting that I can use REST API Direct integration as Data source and then create a variable for it.
I am using northwind odata as sample:
and was trying to put my Get call for product list entity as below
Base URL
Relative Path = /Products

I am getting following error:
Error: TypeError: Failed to fetch. Does the server allow CORS?status: undefined

Resource settings for Get collection (GET)

Resource URL:
Relative path: /Product

I tried with another OData source from SAP (ES5) and having similar issue.

Can anyone please guide how to invoke OData source?

Iā€™m having the same issue, and I report it here:
Connect to ODATA backend - AppGyver
Hopefully, someone has some answers soon,

Finally fixed the issue. In SAP Cloud Platform I have now added cors in my express. That works.

1 Like