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.
{
"status": 404,
"message": "NotFound\r\nclientRequestId: 1079a023-7612-4215-8621-4ed8f7e1519e",
"error": {
"message": "NotFound"
},
"source": "xyz.cloudax.dynamics.com",
"errors": []
}
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.
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?
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.
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!
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
45 | |
42 | |
37 | |
36 | |
23 |
User | Count |
---|---|
41 | |
39 | |
30 | |
29 | |
29 |