cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dchasanidis
Advocate II
Advocate II

Timeout using Dynamics 365 Finance and Operations actions

Hello,

I have created a flow which uses D365 actions to get customers and writes records on excel file. I use batches of 10000 record in each action. I have been struggling with this error for weeks now.

image.png

 

image.png

image.png

{
  "error": {
    "code"504,
    "source""flow-apim-europe-001-westeurope-01.azure-apim.net",
    "clientRequestId""fac72f27-8ca6-42c0-b0fb-87b1c26e88f5",
    "message""BadGateway",
    "innerError": {
      "status"504,
      "message""Request timed out.",
      "error": {
        "message""Request timed out."
      },
      "source""dynamicsax-we.azconn-we.p.azurewebsites.net"
    }
  }
}
 

The flow used to work correctly for several months before this error occurred a few weeks ago. Since then, I wasn't able to solve it.

The weird thing is that the first D365 action never fails. The next one always fails, but they are identical (except the skip part).

Customers records are approximately 30000, so the second action should have fetched some data.

The first successful action is this:
image.png
The second action which fails is that:
 

image.png

Any ideas?

1 REPLY 1
ham
Community Support
Community Support

Hello,

Please check if you are hitting the throttling limits

https://docs.microsoft.com/en-us/connectors/dynamicsax/#limits

I would recommend you to submit a ticket with for investigation.

 

Best Regards,

Harish M

Please mark as verified if the answer is helpful.

 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,282)