Skip to Content

Unhandled Error: Cannot read property 'message' of undefined

Jul 31, 2017 at 12:21 PM


avatar image

when I try to deploy my sap ui5 application to SCP, I get the above error. The version I am using 1.46.9. But even If i use the latest one, I get the same error.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Ashwin Narayan Aug 01, 2017 at 10:41 AM

Hi Manik,

This might have caused when you are trying to evoke a message toast or variable called "message" which will be initialised but not declared.

Yes, as the previous valuable comments say that you share the screen or the error report, or to start with try cntr+f (search) and type in message in the view as well as controller to see where have you used it. This can help you to drill down to the issue.

Please do let me know if you need further assistance with the same.



10 |10000 characters needed characters left characters exceeded
Juan Torres Jul 31, 2017 at 02:29 PM

Hello, can you attach a screen of the error?.


Show 2 Share
10 |10000 characters needed characters left characters exceeded

Occurs when you right click on your app folder click Deploy -> Deploy to SAP Cloud Platform.

It seems like the ui5 resources aren't loading either with a deployed version. (gives 503 Service Unavailable).

down.png (4.9 kB)

Seems to be webide message. It could be an issue with the loading of Web IDE.

The link is not accessible:

Check the link and use the working link to the UI5 library.



Michal Keidar
Aug 01, 2017 at 08:11 AM


In order to try and understand where this error is coming from, please add the sap-ide-debug=true parameter to the URL of your Web IDE and launch it again. This will make Web IDE load with all its resources not preloaded, which means that Web IDE might load slower than usual.

Then execute the action again and attach here the exact error stack from the console log of the browser.

After that, don't forget to remove the URL parameter.


10 |10000 characters needed characters left characters exceeded