Browser Console Reports Errors When Previewing Simple Page


Browser consoles report:

1) Failed to load resource: the server responded with a status of 401 (Unauthorized) http://localhost:65277/bonita/API/living/application?preview=true&c=200

2) vendors-1569187508108.min.js:138 TypeError: Cannot read property 'data' of undefined
at page-builder-1569187508108.min.js:23
at vendors-1569187508108.min.js:150
at n.$eval (vendors-1569187508108.min.js:164)
at n.$digest (vendors-1569187508108.min.js:161)
at n.$apply (vendors-1569187508108.min.js:164)
at h (vendors-1569187508108.min.js:118)
at K (vendors-1569187508108.min.js:122)
at XMLHttpRequest.z.onload (vendors-1569187508108.min.js:124)
(anonymous) @ vendors-1569187508108.min.js:138


Win10, Both current versions of Chrome and Firefox

External Link





Delphine Coille
October 18, 2019, 9:24 AM

Hi Edward, I have tried it on my own environment but i cannot reproduce. (I am on a Mac)

Before asking my colleague to test on windows, could you please detail a bit more the steps performed until you create your application page. Have you designed a process first with data? Are you talking about application page only or a form?


Antoine Mottier
October 22, 2019, 7:53 AM

I’m managed to reproduce your issue regarding.

Preview of a form or a page request access to Bonita Portal. This is because living applications deployed in Bonita Portal can be used to apply application look and feel to previewed forms and pages.

If you are doing the preview of a form or a page without being logged in Bonita Portal you will get this error.

Issue here is that UI Designer have this prerequisites to have access to Bonita Portal but nothing guaranty that this access is available nor you get a visual warning.

So I will report this internally in order to have an improvement that can either make sure that a user is logged in Bonita Portal or that a warning is display if user need to log in.

Also can you confirm that this error has no functional impact on the preview usage?



edward geyh
October 28, 2019, 4:05 PM

Hi Antoine,

You are correct, this issue seems to have no functional impact on the preview page. It is simply that being unable to chase down an error (“TypeError: Cannot read property 'data' of undefined….”) was a bit disconcerting.

Thanks for your time (and you Delphine as well),




Delphine Coille


edward geyh

Affects versions


UID-181, UID-188

Fix versions