cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ZoarderMuttakin
New Member

Receiving 404 Error while Updating a record in D365FO through flow.

Hello Everyone,

I have created a flow to update an entity in d365 operations but my flow is failing with a 404 status.(NotFound.) Just to be sure i used a get record action to see if the record exist or not. I can retrieve the record as well as delete the record using the same Object ID. I can also insert a new record in the entity. I am only getting this error while trying to update a record. Below is the detail body of the response. Can anyone help me with what am i doing wrong? Thanks in Advance.

 

Capture31.PNGCapture33.PNG

 

 

{
  "status": 404,
  "message": "NotFound\r\nclientRequestId: 1079a023-7612-4215-8621-4ed8f7e1519e",
  "error": {
    "message": "NotFound"
  },
  "source": "xyz.cloudax.dynamics.com",
  "errors": []
}

 

 

 

5 REPLIES 5
yashag2255
Dual Super User II
Dual Super User II

Hi @ZoarderMuttakin 

 

Are you updating the record that you are getting in the previous action or the one that is triggering the flow? Can you try passing the object ID from the outputs of these actions directly and check if that resolves the issue? 

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

hello @yashag2255 , Thanks for your suggestion. I have tried both ways and its still not working.

v-alzhan-msft
Community Support
Community Support

Hi @ZoarderMuttakin ,

 

I see the Get record action run successfully in the screenshot, and the Object id field in the Update a record action and the Get a record action should be same, could you please just enter the same Object id in the Update record action the same as the Object id in the Get a record action?

1.png

 

Best regards,

Alice   

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello @v-alzhan-msft, i have used the same object id in both the actions.

Hi @ZoarderMuttakin 

 

Can you share a screenshot of the flow in edit mode for all the actions? 

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Users online (36,283)