question

services-3 avatar image
services-3 asked

Is it possible to call GetMatch without a ticket from Server API?

We have an Azure Function that checks all the servers that are active and still have some room left to retrieve the sessionId (which should be the same as the matchId of a ticket).

The problem comes when a new player, one that hasn't created a ticket yet, tries to call GetMatch for that specific sessionId, the following error shows up:

"Only a user in the match can access it."

Is there any way to bypass this? Maybe calling it from Server API?

Thank you.

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

·
Made Wang avatar image
Made Wang answered

The Entity API can return different results depending on the entity type, so you need to call GetMatch with the title entity token in the Azure Function.

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.