Symptom
When trying to connect to a remote system in your MTA app, you get the following error in the console logs:
Access to XMLHttpRequest at <...> from origin <...> has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Read more...
Environment
SAP BTP, Cloud Foundry environment
Product
Keywords
cors, XMLHttpRequest, access-control-allow-origin, header is present on the requested resource, mta, btp, business technology platform, destination, xs-app.json , KBA , CA-BAS-MTA , Multi target applications in Business Application Studio , BC-CP-CF-DS , Cloud Foundry MTA Deployment Service , CA-WDE-MTA , SAP Web IDE Multi Target App: create, build, deploy , BC-CP-DEST , Destination service , Problem
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.