question

Bijian Wu avatar image
Bijian Wu asked

Invalid input parameters TicketId when using PlayFabMatchmaking

We are using PlayFab Matchmaking and PlayFab multiplayer, and Server allocation was enabled in the queue.

But after user clicked the Cancel matchmaking and got match canceled, and trying to create another match ticket very quickly, the following error occurs.

LogIn Debug : Failed: PlayFab Failed: CancelMatching: /Match/GetMatchmakingTicket: Invalid input parameters TicketId: The TicketId field is required. TicketId: Must be a valid GUID string

How to prevent such unpleasant error from poping up? may be cancel the MatchMaking ticket differently?

we are using

PlayFabMultiplayerAPI.CancelMatchmakingTicket(new CancelMatchmakingTicketRequest { QueueName = MyQueueName, TicketId = myTickId, }, this.OnTicketCanceled, this.OnMatchmakingError);

multiplayerMatchmaking
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.

Seth Du avatar image Seth Du ♦ commented ·

Possibly it is caused by your client side code workflow. Can you briefly describe how your code handle the cancellation process? Can you reproduce this issue with Restful API testing tools like POSTMAN?

0 Likes 0 ·

0 Answers

·

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.