Util.TextEncoder is not a constructor

I am getting the following error in forge app, I am not sure how to fix this

asyncToGenerator.js:6 Uncaught (in promise) Error: There was an error invoking the function - util.TextEncoder is not a constructor
at invoke (https://jira-frontend-bifrost.prod-east.frontend.public.atl-paas.net/assets/async-forge-ui-iframe-issue-view.cedaf1ea.js:69:3583)

Error: Error thrown in the snapshot context.
App code snapshot error: Snapshot error occurred: Error: util.TextEncoder is not a constructor
Learn more about the snapshot context at https://go.atlassian.com/forge-snapshot-context.

1 Like