question

Bryan Matsui Pierce avatar image
Bryan Matsui Pierce asked

Cannot add new policies to the Global Title Policy

Hello, I am trying to prevent the client from calling Client/AddFriend from the game so I added this to the global title policy. However, whenever I try to save the update, I keep getting the error "Failed to save global policy: Invalid action * in statement". I have tried replacing the Action parameter with other strings such as "Write", "Read", "" but they all return the same error. Is there something that I am missing in the format?

Title Data
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Made Wang avatar image
Made Wang answered

Global Title Policy and API Access Policy are two different things. If you want to modify the API Access Policy, you can refer to API Access Policy - PlayFab | Microsoft Docs to call UpdatePolicy, refer to this example.

2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Bryan Matsui Pierce avatar image Bryan Matsui Pierce commented ·

So the only way to update the API Access Policy is through the Admin API?

0 Likes 0 ·
Made Wang avatar image Made Wang Bryan Matsui Pierce commented ·

Yes, and you can try postman, it can help you update Policy easily.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.