After installing my custom app on Dc when going to edit getting error- type error :Promise.allSettle
Asked by Arnab Bhowmik:

here is error log in browser console

batch.js?locale=en-GB:2132 Failed to run init function: Promise.allSettled is not a function ()=\>{!function(e){c.tinymce.ThemeManager.requireLangPack("advanced"),c.tinymce.ThemeManager.add("default",Ee),d.a.requestAnimFrame=d.a.requestAnimationFrame\|\|d.a.webkitRequestAnimationFrame;var t=me(... TypeError: Promise.allSettled is not a function  
at o (batch.js?cefp_collab...in=true:2645:253104)  
at a (batch.js?cefp_collab...in=true:2645:253452)  
at $i.loadScripts (batch.js?cefp_collab...in=true:2645:253650)  
at $i.loadQueue (batch.js?cefp_collab...in=true:2645:252799)  
at GA (batch.js?cefp_collab...in=true:2645:560965)  
at YA (batch.js?cefp_collab...in=true:2645:562324)  
at uP.render (batch.js?cefp_collab...in=true:2645:595065)  
at batch.js?cefp_collab...in=true:2645:602014  
at Array.\<anonymous\> (batch.js?cefp_collab...in=true:2645:602024)  
at Fe (batch.js?cefp_collab...in=true:2645:193033)  
at Object.a (batch.js?cefp_collab...in=true:2645:601764)  
at Ri.executeHandlers (batch.js?cefp_collab...in=true:2645:242457)  
at s (batch.js?cefp_collab...in=true:2645:240345)  
at a (batch.js?cefp_collab...in=true:2645:239973)  
at Oi (batch.js?cefp_collab...in=true:2645:240051)  
at Ri.bind (batch.js?cefp_collab...in=true:2645:241021)  
at Object.W \[as bind\] (batch.js?cefp_collab...in=true:2645:246085)  
at Object.init (batch.js?cefp_collab...in=true:2645:602165)  
at Object.initialise (batch.js?cefp_collab...in=true:3948:143643)  
at batch.js?cefp_collab...in=true:3948:423549  
at batch.js?cefp_collab...in=true:3948:423611  
at batch.js?locale=en-GB:2282:1474 TypeError: Promise.allSettled is not a function  
at o ([http://a369e4b29707545f3970307f3715666b-1689569205.us-east-2.elb.amazonaws.com/confluence/s/fe389a1c2e687b7ef6ded392047f425e-CDN/lxh6dq/9012/1ca6q62/9714d7229dbe3f2d44b1ab35b70a9c8c/_/download/contextbatch/js/editor,atl.general,macro-browser,main,page,zdu-banner-all,-_super/batch.js?cefp_collab_enabled=true\&cefp_ed_perm=false\&cefp_is_admin=true\&gatekeeper-ui-v2=true\&healthcheck-resources=true\&hostenabled=true\&locale=en-GB\&tc-license-setup=true\&user-logged-in=true:2645:253104](http://a369e4b29707545f3970307f3715666b-1689569205.us-east-2.elb.amazonaws.com/confluence/s/fe389a1c2e687b7ef6ded392047f425e-CDN/lxh6dq/9012/1ca6q62/9714d7229dbe3f2d44b1ab35b70a9c8c/_/download/contextbatch/js/editor,atl.general,macro-browser,main,page,zdu-banner-all,-_super/batch.js?cefp_collab_enabled=true&cefp_ed_perm=false&cefp_is_admin=true&gatekeeper-ui-v2=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&tc-license-setup=true&user-logged-in=true:2645:253104))  
at a ([http://a369e4b29707545f3970307f3715666b-1689569205.us-east-2.elb.amazonaws.com/confluence/s/fe389a1c2e687b7ef6ded392047f425e-CDN/lxh6dq/9012/1ca6q62/9714d7229dbe3f2d44b1ab35b70a9c8c/_/download/contextbatch/js/editor,atl.general,macro-browser,main,page,zdu-banner-all,-_super/batch.js?cefp_collab_enabled=true\&cefp_ed_perm=false\&cefp_is_admin=true\&gatekeeper-ui-v2=true\&healthcheck-resources=true\&hostenabled=true\&locale=en-GB\&tc-license-setup=true\&user-logged-in=true:2645:253452](http://a369e4b29707545f3970307f3715666b-1689569205.us-east-2.elb.amazonaws.com/confluence/s/fe389a1c2e687b7ef6ded392047f425e-CDN/lxh6dq/9012/1ca6q62/9714d7229dbe3f2d44b1ab35b70a9c8c/_/download/contextbatch/js/editor,atl.general,macro-browser,main,page,zdu-banner-all,-_super/batch.js?cefp_collab_enabled=true&cefp_ed_perm=false&cefp_is_admin=true&gatekeeper-ui-v2=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&tc-license-setup=true&user-logged-in=true:2645:253452))  
at $i.loadScripts ([http://a369e4b29707545f3970307f3715666b-1689569205.us-east-2.elb.amazonaws.com/confluence/s/fe389a1c2e687b7ef6ded392047f425e-CDN/lxh6dq/9012/1ca6q62/9714d7229dbe3f2d44b1ab35b70a9c8c/_/download/contextbatch/js/editor,atl.general,macro-browser,main,page,zdu-banner-all,-_super/batch.js?cefp_collab_enabled=true\&cefp_ed_perm=false\&cefp_is_admin=true\&gatekeeper-ui-v2=true\&healthcheck-resources=true\&hostenabled=true\&locale=en-GB\&tc-license-setup=true\&user-logged-in=true:2645:253650](http://a369e4b29707545f3970307f3715666b-1689569205.us-east-2.elb.amazonaws.com/confluence/s/fe389a1c2e687b7ef6ded392047f425e-CDN/lxh6dq/9012/1ca6q62/9714d7229dbe3f2d44b1ab35b70a9c8c/_/download/contextbatch/js/editor,atl.general,macro-browser,main,page,zdu-banner-all,-_super/batch.js?cefp_collab_enabled=true&cefp_ed_perm=false&cefp_is_admin=true&gatekeeper-ui-v2=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&tc-license-setup=true&user-logged-in=true:2645:253650))  
at $i.loadQueue ([http://a369e4b29707545f3970307f3715666b-1689569205.us-east-2.elb.amazonaws.com/confluence/s/fe389a1c2e687b7ef6ded392047f425e-CDN/lxh6dq/9012/1ca6q62/9714d7229dbe3f2d44b1ab35b70a9c8c/_/download/contextbatch/js/editor,atl.general,macro-browser,main,page,zdu-banner-all,-_super/batch.js?cefp_collab_enabled=true\&cefp_ed_perm=false\&cefp_is_admin=true\&gatekeeper-ui-v2=true\&healthcheck-resources=true\&hostenabled=true\&locale=en-GB\&tc-license-setup=true\&user-logged-in=true:2645:252799](http://a369e4b29707545f3970307f3715666b-1689569205.us-east-2.elb.amazonaws.com/confluence/s/fe389a1c2e687b7ef6ded392047f425e-CDN/lxh6dq/9012/1ca6q62/9714d7229dbe3f2d44b1ab35b70a9c8c/_/download/contextbatch/js/editor,atl.general,macro-browser,main,page,zdu-banner-all,-_super/batch.js?cefp_collab_enabled=true&cefp_ed_perm=false&cefp_is_admin=true&gatekeeper-ui-v2=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&tc-license-setup=true&user-logged-in=true:2645:252799))  
at GA ([http://a369e4b29707545f3970307f3715666b-1689569205.us-east-2.elb.amazonaws.com/confluence/s/fe389a1c2e687b7ef6ded392047f425e-CDN/lxh6dq/9012/1ca6q62/9714d7229dbe3f2d44b1ab35b70a9c8c/_/download/contextbatch/js/editor,atl.general,macro-browser,main,page,zdu-banner-all,-_super/batch.js?cefp_collab_enabled=true\&cefp_ed_perm=false\&cefp_is_admin=true\&gatekeeper-ui-v2=true\&healthcheck-resources=true\&hostenabled=true\&locale=en-GB\&tc-license-setup=true\&user-logged-in=true:2645:560965](http://a369e4b29707545f3970307f3715666b-1689569205.us-east-2.elb.amazonaws.com/confluence/s/fe389a1c2e687b7ef6ded392047f425e-CDN/lxh6dq/9012/1ca6q62/9714d7229dbe3f2d44b1ab35b70a9c8c/_/download/contextbatch/js/editor,atl.general,macro-browser,main,page,zdu-banner-all,-_super/batch.js?cefp_collab_enabled=true&cefp_ed_perm=false&cefp_is_admin=true&gatekeeper-ui-v2=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&tc-license-setup=true&user-logged-in=true:2645:560965))  
at YA ([http://a369e4b29707545f3970307f3715666b-1689569205.us-east-2.elb.amazonaws.com/confluence/s/fe389a1c2e687b7ef6ded392047f425e-CDN/lxh6dq/9012/1ca6q62/9714d7229dbe3f2d44b1ab35b70a9c8c/_/download/contextbatch/js/editor,atl.general,macro-browser,main,page,zdu-banner-all,-_super/batch.js?cefp_collab_enabled=true\&cefp_ed_perm=false\&cefp_is_admin=true\&gatekeeper-ui-v2=true\&healthcheck-resources=true\&hostenabled=true\&locale=en-GB\&tc-license-setup=true\&user-logged-in=true:2645:562324](http://a369e4b29707545f3970307f3715666b-1689569205.us-east-2.elb.amazonaws.com/confluence/s/fe389a1c2e687b7ef6ded392047f425e-CDN/lxh6dq/9012/1ca6q62/9714d7229dbe3f2d44b1ab35b70a9c8c/_/download/contextbatch/js/editor,atl.general,macro-browser,main,page,zdu-banner-all,-_super/batch.js?cefp_collab_enabled=true&cefp_ed_perm=false&cefp_is_admin=true&gatekeeper-ui-v2=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&tc-license-setup=true&user-logged-in=true:2645:562324))  
at uP.render ([http://a369e4b29707545f3970307f3715666b-1689569205.us-east-2.elb.amazonaws.com/confluence/s/fe389a1c2e687b7ef6ded392047f425e-CDN/lxh6dq/9012/1ca6q62/9714d7229dbe3f2d44b1ab35b70a9c8c/_/download/contextbatch/js/editor,atl.general,macro-browser,main,page,zdu-banner-all,-_super/batch.js?cefp_collab_enabled=true\&cefp_ed_perm=false\&cefp_is_admin=true\&gatekeeper-ui-v2=true\&healthcheck-resources=true\&hostenabled=true\&locale=en-GB\&tc-license-setup=true\&user-logged-in=true:2645:595065](http://a369e4b29707545f3970307f3715666b-1689569205.us-east-2.elb.amazonaws.com/confluence/s/fe389a1c2e687b7ef6ded392047f425e-CDN/lxh6dq/9012/1ca6q62/9714d7229dbe3f2d44b1ab35b70a9c8c/_/download/contextbatch/js/editor,atl.general,macro-browser,main,page,zdu-banner-all,-_super/batch.js?cefp_collab_enabled=true&cefp_ed_perm=false&cefp_is_admin=true&gatekeeper-ui-v2=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&tc-license-setup=true&user-logged-in=true:2645:595065))  
at [http://a369e4b29707545f3970307f3715666b-1689569205.us-east-2.elb.amazonaws.com/confluence/s/fe389a1c2e687b7ef6ded392047f425e-CDN/lxh6dq/9012/1ca6q62/9714d7229dbe3f2d44b1ab35b70a9c8c/_/download/contextbatch/js/editor,atl.general,macro-browser,main,page,zdu-banner-all,-_super/batch.js?cefp_collab_enabled=true\&cefp_ed_perm=false\&cefp_is_admin=true\&gatekeeper-ui-v2=true\&healthcheck-resources=true\&hostenabled=true\&locale=en-GB\&tc-license-setup=true\&user-logged-in=true:2645:602014](http://a369e4b29707545f3970307f3715666b-1689569205.us-east-2.elb.amazonaws.com/confluence/s/fe389a1c2e687b7ef6ded392047f425e-CDN/lxh6dq/9012/1ca6q62/9714d7229dbe3f2d44b1ab35b70a9c8c/_/download/contextbatch/js/editor,atl.general,macro-browser,main,page,zdu-banner-all,-_super/batch.js?cefp_collab_enabled=true&cefp_ed_perm=false&cefp_is_admin=true&gatekeeper-ui-v2=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&tc-license-setup=true&user-logged-in=true:2645:602014)  
at Array.\<anonymous\> ([http://a369e4b29707545f3970307f3715666b-1689569205.us-east-2.elb.amazonaws.com/confluence/s/fe389a1c2e687b7ef6ded392047f425e-CDN/lxh6dq/9012/1ca6q62/9714d7229dbe3f2d44b1ab35b70a9c8c/_/download/contextbatch/js/editor,atl.general,macro-browser,main,page,zdu-banner-all,-_super/batch.js?cefp_collab_enabled=true\&cefp_ed_perm=false\&cefp_is_admin=true\&gatekeeper-ui-v2=true\&healthcheck-resources=true\&hostenabled=true\&locale=en-GB\&tc-license-setup=true\&user-logged-in=true:2645:602024](http://a369e4b29707545f3970307f3715666b-1689569205.us-east-2.elb.amazonaws.com/confluence/s/fe389a1c2e687b7ef6ded392047f425e-CDN/lxh6dq/9012/1ca6q62/9714d7229dbe3f2d44b1ab35b70a9c8c/_/download/contextbatch/js/editor,atl.general,macro-browser,main,page,zdu-banner-all,-_super/batch.js?cefp_collab_enabled=true&cefp_ed_perm=false&cefp_is_admin=true&gatekeeper-ui-v2=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&tc-license-setup=true&user-logged-in=true:2645:602024))  
at Fe ([http://a369e4b29707545f3970307f3715666b-1689569205.us-east-2.elb.amazonaws.com/confluence/s/fe389a1c2e687b7ef6ded392047f425e-CDN/lxh6dq/9012/1ca6q62/9714d7229dbe3f2d44b1ab35b70a9c8c/_/download/contextbatch/js/editor,atl.general,macro-browser,main,page,zdu-banner-all,-_super/batch.js?cefp_collab_enabled=true\&cefp_ed_perm=false\&cefp_is_admin=true\&gatekeeper-ui-v2=true\&healthcheck-resources=true\&hostenabled=true\&locale=en-GB\&tc-license-setup=true\&user-logged-in=true:2645:193](http://a369e4b29707545f3970307f3715666b-1689569205.us-east-2.elb.amazonaws.com/confluence/s/fe389a1c2e687b7ef6ded392047f425e-CDN/lxh6dq/9012/1ca6q62/9714d7229dbe3f2d44b1ab35b70a9c8c/_/download/contextbatch/js/editor,atl.general,macro-browser,main,page,zdu-banner-all,-_super/batch.js?cefp_collab_enabled=true&cefp_ed_perm=false&cefp_is_admin=true&gatekeeper-ui-v2=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&tc-license-setup=true&user-logged-in=true:2645:193)  
Show 1 more frame


Answers:
author: Andrii Maliuta
body: Hello [@Arnab Bhowmik](/t5/user/viewprofilepage/user-id/5441351) ,

It is better to check the Confluence logs that should show the errors on the backend before or while rendering the page for UI so that it is clear what part of app causes the problem. You need to make sure that the plugin web and other resources defined in the manifest are rendered correctly.

comments: author: Arnab Bhowmik
body: actually in log there is no error is showing which is making it crtitcal to debug


author: Andrii Maliuta
body: You can try to use **Live Reload** of the addon maven tools to debug. You can try to change the settings of the plugin descriptor and see what part (module) is the root cause and then try to debug this very module. SDK gives a lot of tools (also, you can add custom logging with Java code) to check this.


Tags: confluence-data-center

confluence-server

data-center

server