SAP Knowledge Base Article - Preview

3221239 - Failed to load resource: a status of 404 (not found) Access to XMLHttpRequest has been blocked by CORS policy

Symptom

  • The following error was seen when using Cloud option: UCONCOCKPIT HTTP_white_list

    ~~~~~~~Error~~~~~~~~

    Failed to load resource: the server responded with Component-preload.js:1 a status of 404 (not found)

    Failed to load Javascript appruntime-min-0.js:47 resource: …
    Access to XMLHttpRequest at ‘https://*.*/1.71.42/resources/sap/ui/core/themes/sap_fiori_3/library-parameters.json (redirected from ‘https://*.*.*/*) from origin ‘https://*.*.*’’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: The value of the ‘Access-Control-Allow-Origin’ header in the response must not be the wildcard ‘*’ when the request’s credential mode is ‘include’. The credentials mode of request initiated by the XMLHttpRequest is controlled by the with Credentials attribute

     

    Failed to load resource: net::ERR_FAILED

    ~~~~~~End Error~~~~~~~~
     


Read more...

Environment

  • SAPUI5 1.71.42 and others

Product

SAPUI5 all versions

Keywords

"has been blocked by CORS policy","header in the response must not be the wildcard ‘*’ when the request’s credential mode is ‘include’","UCONCOCKPIT HTTP_white_list","CORS policy","redirected from","Control-Allow-Origin","Failed to load resource 404","a status of 404 (not found)" , KBA , EP-WZ-SM , Site Directory, Site Settings, Site Service, IAS Integration , 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.