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
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (3,725)