SAP Knowledge Base Article - Preview

3474157 - Connect to external server from BAS is blocked due to CORS issue


While running the application from SAP Business Application Studio for test, you are getting the following error from the browser console which is blocking the access to the external server URL:

Access to XMLHttpRequest at '<external server URL>' from origin 'https://port8080-workspaces-ws-<ws-id>.<region>' 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."



SAP Business Application Studio


SAP Business Application Studio 3.0


Access-Control-Allow-Origin, CORS, CSP, origin , KBA , CA-BAS-RUN-HTML5 , Run HTML5 Module (DOES NOT INCLUDE SAP FIORI APPS) , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.