API calls will time out at four minutes.

Dalton Craven 0 Reputation points
2024-11-06T19:09:51.83+00:00

We changed our settings so that API calls will time out at four minutes instead of two, however some of our downloads still go over that setting. Is there any way to increase our Azure timeout even higher?

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,462 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. hossein jalilian 11,055 Reputation points Volunteer Moderator
    2024-11-07T00:20:23.46+00:00

    Thanks for posting your question in the Microsoft Q&A forum.

    The default timeout for Azure API Management is 300 seconds (5 minutes). While you can set higher timeout values, Microsoft documentation warns that values greater than 240 seconds (4 minutes) may not be reliably honored. This is because the underlying network infrastructure can drop idle connections after this time.

    You can set the timeout using the <forward-request> policy in your API Management configuration. For example


    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.