Hey there,
I am using the flow to read in data from updated items and apply a retention label based on the data found. I had a working test where when and item was updated it would "apply the policy" i.e. send me an email that says the policy it updated the item to, and the logic seemed to work. I then got the RPA license and was able to allow the M365 Compliance connection. This is where it all seemed to fall apart. I get this for the body output;
"body": {
"error": {
"code": "NotFound",
"message": "Exception from Sharepoint API",
"innererror": {
"message": "Exception from Sharepoint API",
"type": "Microsoft.Office.Compliance.AeDService.BusinessLayer.Error.ODataResponseException",
"stacktrace": " at Microsoft.Office.Compliance.AeDService.BusinessLayer.Services.MigService.Clients.SharePointClient.<SendRequestAsync>d__7.MoveNext() in D:\\dbs\\el\\06e1\\sources\\dev\\AeDService\\AeDService.BusinessLayer\\Services\\MigService\\Clients\\SharePointClient.cs:line 137\r\n--- End of stack trace from previous location where exception was thrown ---
********** This message goes on for about 15 more lines so I cut it down to this for viewing *****************
}
}
}
I am using these as for inputs. To validate any possible questions; I am able to manually set the label on the item within SharePoint, I am able to update the description field of the item as well. I thought maybe the ID given from the trigger is not the Listitem ID BUT I did find an article SharePoint Online - Retrieve an item (nintex.com) that says you can view the Listitem ID by enabling the ID column, but this could be wrong. I get the ID from the trigger "When a file is created or modified (properties only)". It also fails if I place a number manually in the Listitem ID slot with the same error. 
I am sure the answer is simple and right there, but I just cannot see it! Thank you for any assistance!