question

Daniel Javadi Moth avatar image
Daniel Javadi Moth asked

Value of PlayFabId in Server/UpdateAvatarUrl API,

Hello, I have run into an issue regarding Server/UpdateAvatarUrl, which is returning "User not found" when supplied a PlayFabId of a title_player_account. Does the API require the PlayFabId to be one of a master_player_account? And if so, how do I differentiate between which one an API requires? Thanks in advance.

,

apis
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

·
Simon Cui avatar image
Simon Cui answered

The PlayFabId is designed to represent master_player_account. You can refer to Available Built-In Entity Types - PlayFab | Microsoft Learn, which may help you understand the difference between master_player_account and title_player_account. Additionally, you can identify the required request body in REST API reference, such as Account Management - Update Avatar Url - REST API (PlayFab Server) | Microsoft Learn.

10 |1200

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

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.