sap-tutorials / Tutorials

Tutorials on sap.com
https://developers.sap.com/tutorial-navigator.html
Creative Commons Attribution 4.0 International
732 stars 778 forks source link

Add API Business Hub API to a UI5 Application #4321

Closed bcschaich closed 4 years ago

bcschaich commented 4 years ago

Tutorial URL: https://developers.sap.com/tutorials/hcp-abh-api-ui5-app.html

Please specify the step you are referring to STEP1 when calling the GET directly from the controller (as described in tutorial) following error message appears in console:

Access to XMLHttpRequest at 'https://sandbox.api.sap.com/successfactors/odata/v2/User?$top=10' from origin 'https://webidetesting8490196-d034365trial.dispatcher.hanatrial.ondemand.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

I found out what that means but solutions include way too much programmming for an example. How can this be solved?

bcschaich commented 4 years ago

OK obviously this had to do with SF outages? It works today!