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?