Hello gang,
I've been looking for solutions online to automatically add a user to a SharePoint 'Group' in the onboarding phase of my flow.
I'm attempting to do this with the 'Send an HTTP request to SharePoint' module. This is designed to allocate users access to their department SharePoint page based on the permissions I've established.

error message

I'm new to this, So I'm trying to make sense of this error I'm getting when testing this function.
- If someone could assist me in finding where to point the 'URI' address.
And how to validate this is the correct url addr.
- As well as how to find the group id (is that found in the url in the 'site permissions' (
)
- In the 'Body' Am I correct in the assumption that this requires the {'type':'SP.User'} (referring to Share point user) And their associated 'LoginName'.
- And why I'm getting an invalid type response when I run this function.
Any help will be greatly appreciated
thank you