Hi Atlassian Support,
I’m encountering an issue when making requests to an external API from my Forge app. The API request fails in the development environment with the following error:
Steps Taken:
- Verified that the API is reachable from Postman and cURL (works fine).
- Rechecked Atlassian Forge permissions and egress rules.
- Restarted Forge tunnel and redeployed with
forge deploy -e development
.
App Details-
APP ID: 5ce566da-491e-4978-95a2-376666472a60
Trace ID : 67e3d599d759f06c364d45b28dca7ca0
Note: this is not an Atlassian Support forum, but a community one, with some Atlassian devs.
It seems, from your stack trace, that you are doing your request with invokeRemote
; is it really intended ?
Why not a simple fetch instead ?
Can you share the code where you make the request ?
@KarthikSivan,
Please feel free to raise an ECOHELP ticket at Jira Service Management with more details so that we can work through the issue. Providing the app manifest data and information on how you are making the request could be helpful too.
Hi @LashaniPerera ,
I have raised a request in Jira Service Management ECOHELP-61063 , Please help me on this.
I tried both way, I was getting 502 Bad Gateway when I used fetch instead of the invoke remote method