cancel
Showing results for 
Search instead for 
Did you mean: 

Router issue: failed to load 'null/Page.js' - No 'Access-Control-Allow-Origin'

former_member213564
Participant
0 Kudos

Hi experts,

after adding router to my project I got the following error


XMLHttpRequest cannot load https://sapui5.hana.ondemand.com/resources/null/Page.js. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:62496' is therefore not allowed access. The response had HTTP status code 404.

I have already configured my proxy and it worked before adding router..do you know what am I missing?

Regards,


Filip

Accepted Solutions (0)

Answers (1)

Answers (1)

jamie_cawley
Advisor
Advisor
0 Kudos

Maybe you didn't define the viewPath.  Provide your code if that doesn't help.

Regards,

Jamie

SAP - Technology RIG

0 Kudos

I'm having the same problem,

Uncaught Error: found in negative cache: 'null/Page.js' from /sap/bc/ui5_ui5/ui2/ushell/resources/~20160504081100~/null/Page.js: 404 - NOT FOUND