
Announcements
The error happens when I update the security of a document that was recently created in SharePoint.
I am confused because this action works in some cases and not in others.
OUTPUTS Body:
If I run open the link from the browser, the response is positive.
I would appreciate if you can give me some reason about the issue.
Hi @AndresNoguera,
First check. The outputs body shows an empty value. I don't see the number 18 in that outputs body. Your SecurityGroupID field might be empty.
Secondly, the GetUserById method is used to get a user by it's id. It looks like you are using an id of a group object.
There is a different method for groups.
Have you tried using the sitegroups/getbyid for these objects instead?
_api/Web/SiteGroups/GetById(18)