cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

D365FO Update record issue - 404 error Not found

Hi, 

 

I have a flow that updates a couple of records in D365FO. All update actions work except one that has an object id that consists of 4 elements. By making some tests runs, I found the following necessary keys:

provide keys for LedgerName,Calendar,YearName,PeriodName

 

Ok. I entered the necessary keys but not matter what I do, I always get a 404 error. 

Flow.png

 

To ensure that I did not make a strange mistake, I tried a lot incl. reformatting the elements to strings, entering single and double quotation marks in front and behind the different elements, concatenating the string with an expression, etc. Unfortunately, nothing worked. 

 

Thereafter, I tried the same process in a completely different demo/test environment and things worked fine in this demo box. The only difference that I have in this test environment compared to the one where I receive the error is the first string which is USMF instead of 0100. 

 

I already tried formatting the 0100 element as string but this did not help. 

 

Does somebody have an idea what might help here?

 

Best regards, 

 

Ludwig

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1 REPLY 1
Darione78
Frequent Visitor

Hi, I know this topic is a bit old, but I came across a similar issue and I solved it. It is a bit convoluted but it works 🙂

 

You can also add a compose first(outputs('Lists_items_present_in_table_3')?['body']) so that you have only one result for your list and you don't have to use "Apply to each" for your second step.

 

Hope this works for you,


Cheers,


Dario

 

Darione78_0-1606186797583.png

 

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

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

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (2,074)