Skip to Content

Send command from UI5-app to IoT Application Enablement


when attempting to send a command from a UI5-app to SAP IoT Application Enablement, we copied the code Postman generates for the usual PUT request to the button control in SAP WebIDE through which we want to execute the request.

When pressing the button in our UI5-app, we receive the following errors:

Access to XMLHttpRequest at '' from origin '' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Cross-Origin Read Blocking (CORB) blocked cross-origin response with MIME type application/vnd.sun.wadl+xml. See for more details.

Has anyone encountered these errors before and can tell us which steps to take?

Thank you in advance.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Feb 06 at 07:41 AM

    Have you defined a destination to your IoT Application Enablement? If you do so, you can avoid CORS issues.

    Add comment
    10|10000 characters needed characters exceeded