question

Tri avatar image
Tri asked

GetFriendList return empty Tags array

Is there any problem with the server? Or i'm missing something?

Here is my server code :

server.GetFriendsList({
        "PlayFabId" : currentPlayerId,
        "ProfileConstraints" :{
            "ShowDisplayName" : true,
            "ShowStatistics" : true,
            "ShowTags" : true
        }
    });

I also try calling GetFriendList without "ProfileConstraints", still return empty Tags array.

Thanks in advance.

sdksCloudScript
2.png (8.2 KiB)
1.png (11.5 KiB)
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

·
JayZuo avatar image
JayZuo answered

According to your description, it seems you want to get friend tags. If so, there is no need to provide "ProfileConstraints". And I did a quick test with Postman, it works well.

You may try with some other player accounts to see if they have the same issue. If you still have this issue, I'd suggest you share your TitleId and the PlayFabId so that @Brendan & @Andy may have a check for you.


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.