I'm having an issue with inviting people to groups. I can create the group fine, I can confirm this in the log, which shows the message:
Successfully created group: sd-E07B6D14C217F909
However, when I try to invite someone to the group, I get the error:
No group profile found at sd-E07B6D14C217F909
The error code is 1298.
This is the code I'm using to invite to the group, using the UE4 library:
PlayFab::GroupsModels::FInviteToGroupRequest Request; Request.Entity.Id = FriendId; Request.Entity.Type = "title_player_account"; Request.Group.Id = GroupId; Request.Group.Type = "group"; IPlayFabModuleInterface::Get().GetGroupsAPI()->InviteToGroup(Request, PlayFab::UPlayFabGroupsAPI::FInviteToGroupDelegate::CreateUObject(this, &OnInviteToGroupSuccess), PlayFab::FPlayFabErrorDelegate::CreateUObject(this, &OnGroupsError));
Is there anything I'm doing wrong here that might be causing this?
I have checked that FriendId and GroupId are valid for the current group, so I don't think that could be the issue