question

Jorge Mendez avatar image
Jorge Mendez asked

Getting 500 error when trying to update MatchMaking Queue

Hey, Im trying to update an existing queue changing the BuildId through request api following: https://docs.microsoft.com/en-us/rest/api/playfab/multiplayer/matchmaking-admin/setmatchmakingqueue?view=playfab-rest#matchmakingqueueconfig

So far I have this request:

curl --location --request POST 'https://F12DD.playfabapi.com/Match/SetMatchmakingQueue' \ --header 'X-EntityToken: {entity-token}' \ --header 'Content-Type: application/json' \ --data-raw '{ "BuildId":"{build-id}", "Name":"normal_game", "ServerAllocationEnabled":true, "RegionSelectionRule": { "MaxLatency":1000, "Name":"region_rule", "Path": "Latencies", "Weight":1 } }'

Please note that for security reasons I replaced:

- The real EntityToken with {entity-token} which I got successfully with https://docs.microsoft.com/en-us/rest/api/playfab/authentication/authentication/getentitytoken?view=playfab-rest

- The real BuildId with {build-id} which I got from the webpage and has the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxx2437e (the last digits are real so you can identify the build on the title).

Every time I run that curl I get 500:

{ "code": 500, "status": "InternalServerError", "error": "InternalServerError", "errorCode": 1110, "errorMessage": "An unexpected error occured while processing the request.", "errorHash": "0fab3ef5f63ff818379338116dd48f0c", "errorDetails": { "RequestID": [ "1-6017f23b-037b792b55b2b1334d6266d2" ] } }

What am I doing wrong? Do I have to put all the fields in the request in order to update the Build?

Matchmaking
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 ·

According to the reuqest, there are few missing properties in the request. Are you trying to update an existing queue? The normal behavior of PlayFab update is an "override" action, you may specify all the required properties in the request. Please try to add properties like MinMatchSize, MaxMatchSize, etc. to see if this issue can be reproduced.

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.