Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Business Central forum

Microsoft flow gateway timeout??

(0) ShareShare
ReportReport
Posted on by

So I set up a simple MS flow. 

The trigger is a BC (SaaS) "when a record has changed" trigger. Company name is set (CRONUS Canada) as is the table name (customers). The next action is to send an outlook 365 email. Simple enough right?

Except I keep getting an http 504 response

{
"error": {
"code": 504,
"source": "flow-apim-msmanaged-na-northcentralus-01.azure-apim.net",
"clientRequestId": "498f029b-1a08-4361-b95d-94d8e63d7d76",
"message": "BadGateway",
"innerError": {
"status": 504,
"message": "Request timed out.\r\n inner exception: A task was canceled.\r\nclientRequestId: 498f029b-1a08-4361-b95d-94d8e63d7d76",
"source": "dynamicssmbsaas-eus2.azconn-eus2.p.azurewebsites.net"
}
}
}

Has anyone experienced any success with the Microsoft Flow and BC? What am I doing wrong?

Categories:
  • jgarci7 Profile Picture
    2 on at
    Microsoft flow gateway timeout??
    We experience the same problem, did you ever solve this?
  • Suggested answer
    Steven12345 Profile Picture
    50 on at
    RE: Microsoft flow gateway timeout??

    I resolve this problem by setting a timeout  / retry in the flow. I pretty much figured dynamics was too slow responding to the request.  So far this appears now to be working

    p4.jpg

  • Steven12345 Profile Picture
    50 on at
    RE: Microsoft flow gateway timeout??

    Thanks a lot, I just wait and see what happens, maybe there is some kind of background operation that needs to run on first usage.

  • CanuckNav74 Profile Picture
    on at
    RE: Microsoft flow gateway timeout??

    The problem went away on its own one week after I made my initial post.

    It's a mystery

  • Steven12345 Profile Picture
    50 on at
    RE: Microsoft flow gateway timeout??

    We experience the same problem, did you ever solve this?

  • CanuckNav74 Profile Picture
    on at
    RE: Microsoft flow gateway timeout??

    FYI - to weed out a possible issue with Flow itself, I created an even simpler flow (not BC related at all). The flow works fine.

    If the BC SaaS flow connector borked?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,430 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,043 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans