Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

Microsoft flow gateway timeout??

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
    jgarci7 2 on at
    Microsoft flow gateway timeout??
    We experience the same problem, did you ever solve this?
  • Suggested answer
    Steven12345 Profile Picture
    Steven12345 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
    Steven12345 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
    CanuckNav74 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
    Steven12345 50 on at
    RE: Microsoft flow gateway timeout??

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

  • CanuckNav74 Profile Picture
    CanuckNav74 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?

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

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

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,326 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,166 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans