question

radek avatar image
radek asked

CreateBuildWithProcessBasedServer bug with port number

To streamline our builds we wanted to use the API in shell to create a new build. However when calling the `CreateBuildWithProcessBasedServer` API it returns an error `Specyfing port number is not allowed` or if port is not specified `The Num field is required`. (https://docs.microsoft.com/en-us/rest/api/playfab/multiplayer/multiplayer-server/create-build-with-process-based-server?view=playfab-rest)

I see there's the same issue posted almost a year ago here: https://community.playfab.com/questions/43914/how-to-use-playfabmultiplayerapi-createbuildwithpr.html

I wrote in there, but there's been no answer for almost 2 weeks so decided to create a question as this seems more appropriate (as replies are called `answers`)

The solution posted there to use a `CreateBuildWithManagedContainer` won't work for us as we want to create a process based server. Is there

apisCustom Game Servers
10 |1200

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

radek avatar image
radek answered

Seems like it works if you specify port number as `0` in the request.

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 answered

Thanks for your report. I will submit report to the product team and will keep you informed when there is feedback.

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.