Skip to Content

SAP UI5 Error: No Access Control-Allow-Orgin

Hi Friends,

We have UI5 Application as FIORI Tile, UI5 contains OData Service Calls through Model Object. when we run the application, getting error "No Access Control - Allow - Orgin".

Please check the attached error and suggest on this issue.

Thanks,

Prasad.control-allow-orgin-error.png

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 23 at 08:18 AM

    Hi,

    Open the Chrome in security disabled mode. run the below command in cmd. It'll work

    "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-web-security --user-data-dir="D:\chrome"
    Add comment
    10|10000 characters needed characters exceeded

  • Jan 23 at 09:56 AM

    Hi,

    I have done the above step, now I am not getting "Control-allow-Origin" Error.

    But now different error "Failed to load resource: the server responded with a status of 404" as attachedfailed-to-load-resouce-error.jpg

    Thanks,

    Prasad.

    Add comment
    10|10000 characters needed characters exceeded