Hello, I am trying to upload a file but I always get this error:
Init Failed Error/File/InitiateFileUploads: 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. UnityEngine.Debug:Log(Object) PlayfabScript:OnInitFailed(PlayFabError) (at Assets/Playfab/Scripts/PlayfabScript.cs:210) PlayFab.Internal.PlayFabUnityHttp:OnResponse(String, CallRequestContainer) (at Assets/PlayFabSdk/Shared/Internal/PlayFabHttp/PlayFabUnityHttp.cs:262) PlayFab.Internal.<Post>d__20:MoveNext() (at Assets/PlayFabSdk/Shared/Internal/PlayFabHttp/PlayFabUnityHttp.cs:191) UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr) ```
When I checked the the games Settings -> API Features, I couldn't find any policy with the above comment (By default, all requests are denied.).
I tried adding the following permission, but it didn't work:
{ "Action": "Write", "Effect": "Allow", "Resource": "pfrn:data--*!*/Profile/Files/FILENAME", "Principal": { "ChildOf": { "EntityType": "namespace", "EntityId": "<My game's Publisher ID>" } }, "Comment": "Allow all namespace members to write files", "Condition": null }
Thank you.