Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Forge External API Timeout Issue

Vitheya Monikha May 15, 2025

Hi Atlassian Community,

I am using an external API within the Forge Custom UI. The API is taking more than 30 seconds to return a response, but after 25 seconds, the API call is terminated.

Any guidance or insights from the community on how to proceed with this warning in the context of preparing for Marketplace listing would be greatly appreciated.

Thanks in advance for your help!

2 answers

0 votes
Tim Pettersen
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 24, 2025

Hi @Vitheya Monikha

@Oleksii Melnyk answer is correct in that most Forge function types do have a 25 second timeout by default. 

However, you can use an async function to make a longer running request of up to 180 seconds. You'll need to increase your async function's timeoutSeconds to something >180 seconds. Though async functions can run for up to 15 minutes, there is a maximum request timeout of 180 seconds that will apply to any individual request.

If you need to return the result of this request to your frontend, you could have your long-running async function store the result in Forge storage, and then have your resolver poll storage for a result.

Your architecture would look something like this:

Screenshot 2025-06-25 at 10.56.33 am.png

Hope this helps!

cheers,

Tim

0 votes
Oleksii Melnyk
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 24, 2025

You're likely hitting the documented 25-second execution time limit for Forge functions.

If your external API takes longer than that, the function will be forcefully terminated.

Please check it here: https://developer.atlassian.com/platform/forge/platform-quotas-and-limits/ 

You might want to reconsider your approach — perhaps the data can be processed in smaller chunks or be batched

Oleksii Melnyk
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 29, 2025

@Vitheya Monikha hi! Were you able to solve your problem?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events