PlayFabAuthenticationInstanceAPI AuthenticationInstanceApi = new PlayFabAuthenticationInstanceAPI(playfabProvidedContextData.ApiSettings, playfabProvidedContextData.AuthenticationContext); var damResult =await AuthenticationInstanceApi.GetEntityTokenAsync(new GetEntityTokenRequest { Entity = new PlayFab.AuthenticationModels.EntityKey { Id = playfabProvidedContextData.CallerEntityProfile.Entity.Id, Type = playfabProvidedContextData.CallerEntityProfile.Entity.Type } }); This is giving me error---,
"The claim was not allowed to perform the requested action based on the entity's access policy. Policy comment: By default, all requests are denied. If you expected this request to succeed, you may be missing a policy. See the permissions APIs in PlayFab's Admin Api to add a permission."
PlayFabAuthenticationInstanceAPI AuthenticationInstanceApi = new PlayFabAuthenticationInstanceAPI(playfabProvidedContextData.ApiSettings, playfabProvidedContextData.AuthenticationContext); var damResult =await AuthenticationInstanceApi.GetEntityTokenAsync(new GetEntityTokenRequest { Entity = new PlayFab.AuthenticationModels.EntityKey { Id = playfabProvidedContextData.CallerEntityProfile.Entity.Id, Type = playfabProvidedContextData.CallerEntityProfile.Entity.Type } });
I get the playfab error from this----
"The claim was not allowed to perform the requested action based on the entity's access policy. Policy comment: By default, all requests are denied. If you expected this request to succeed, you may be missing a policy. See the permissions APIs in PlayFab's Admin Api to add a permission."