Hello,
When I try to open the app I installed in development environment, it tells me that there was some error in the index.js file in one of the ‘resolver.define’ functions using fetch for an external domain.
Here is the manifest:
external:
fetch:
backend:
- "*.lightning.force.com"
- "*.my.salesforce.com"
Here is the error:
Error: There was an error invoking the function - fetch failed
at invoke (https://jira-frontend-bifrost.prod-east.frontend.public.atl-paas.net/assets/async-forge-ui-iframe-full-page.f49b4c8d.js:38:142084)
at async https://jira-frontend-bifrost.prod-east.frontend.public.atl-paas.net/assets/async-forge-ui-iframe-full-page.f49b4c8d.js:38:215789
-
I am on the latest version of the forge/cli.
-
I have built and deployed my code.
-
I have ran ‘forge install --upgrade’
‘forge tunnel’ is working but outside of that, on any environment- it fails with this error when using ‘fetch’ to get data outside of Jira.