Have you followed the instructions from https://developer.atlassian.com/platform/forge/manifest-reference/permissions/#external-permissions? It looks like the request you make inside the try block is timing out accordingly to What does a "Platform unexpected error" mean in a Jira Forge App
I’d suggest adding console.log
after each line to figure out which one “hangs” and then troubleshoot it.
Thanks,
Vitalii