Hello!
i tried to use the forge portalRequestDetailPanel template from Forge create.
Sadly it is impossible to invoke a function from the JSM portal, i’m getting this error:
global-bridge.js:2 Uncaught (in promise) Error: Invocation of the function is forbidden
at https://jsm-help-center-ui.prod-east.frontend.public.atl-paas.net/assets/js/252.chunk.49d5c2d6eb5216a636ae.js:2:75184
at h (https://jsm-help-center-ui.prod-east.frontend.public.atl-paas.net/assets/js/servicedesk-vendor.chunk.808963186cd887af0c4f.js:2:1218160)
at Generator.<anonymous> (https://jsm-help-center-ui.prod-east.frontend.public.atl-paas.net/assets/js/servicedesk-vendor.chunk.808963186cd887af0c4f.js:2:1219487)
at Generator.next (https://jsm-help-center-ui.prod-east.frontend.public.atl-paas.net/assets/js/servicedesk-vendor.chunk.808963186cd887af0c4f.js:2:1218570)
at n (https://jsm-help-center-ui.prod-east.frontend.public.atl-paas.net/assets/js/servicedesk-vendor.chunk.808963186cd887af0c4f.js:2:1789616)
at s (https://jsm-help-center-ui.prod-east.frontend.public.atl-paas.net/assets/js/servicedesk-vendor.chunk.808963186cd887af0c4f.js:2:1789827)
Error: Invocation of the function is forbidden
at fe.error (https://forge.cdn.prod.atlassian-dev.net/global-bridge.js:2:153277)
at Object.<anonymous> (https://forge.cdn.prod.atlassian-dev.net/global-bridge.js:2:161050)
at JSON.parse (<anonymous>)
at Te.o (https://forge.cdn.prod.atlassian-dev.net/global-bridge.js:2:160909)
at Te (https://forge.cdn.prod.atlassian-dev.net/global-bridge.js:2:161062)
at s.on (https://forge.cdn.prod.atlassian-dev.net/global-bridge.js:2:165722)
at je (https://forge.cdn.prod.atlassian-dev.net/global-bridge.js:2:165859)
at https://forge.cdn.prod.atlassian-dev.net/global-bridge.js:2:171845
at e.try (https://forge.cdn.prod.atlassian-dev.net/global-bridge.js:2:144329)
at https://forge.cdn.prod.atlassian-dev.net/global-bridge.js:2:171642
I tried to add some additional scopes but that doesn’t work either.
Is there some configuration to make those request working ?