question

v-bpaul avatar image
v-bpaul asked

Trying to request GetMatch with custom matchmaking server, not authorized even after a succesfull GetEntityToken

Hello, I am trying to implement backfill tickets on our matchmaking servers.

For that I request a GetEntityToken succesfully that sets the entitytoken in the PlayfabSettings::staticPlayer.

To have the serverDetails I request a GetMatch with the match id and the queue name but I get the error 2056 "Only a user in the match can access it."

I do not pass myself the entity token since the API sets it by itself.

What am I doing wrong ?

sdksMatchmaking
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

·
v-bpaul avatar image
v-bpaul answered

Ok sorry but a sneaky LoginWithCustomID reseted my Entity title to a title_player_account

1 comment
10 |1200

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

Citrus Yan avatar image Citrus Yan commented ·

Yes, indeed, login calls automatically set the title_player_account's Entity Token into PlayfabSettings::staticPlayer, which is the current behavior of the SDK.

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.