question

samcsantillo avatar image
samcsantillo asked

GetMatch Server Authentication Error

For my project, we have begun implementing server backfilling for the matches. One issue I am having is when using GetMatch to fill in some of the server details, the server doesn't seem to have the permissions to do so. Is there some extra login step needed for servers needed to make these Matchmaking calls? Thanks!

[2020.02.07-10.14.56:219][516]LogPlayFab: Request: {
	"EscapeObject": false,
	"MatchId": "2831d8ef-400f-4f51-9169-ba8185b47d41",
	"QueueName": "Queue",
	"ReturnMemberAttributes": false
}
[2020.02.07-10.14.56:288][519]LogPlayFab: Response : {"code":401,"status":"Unauthorized","error":"NotAuthenticated","errorCode":1074,"errorMessage":"This API method does not allow anonymous callers."}

Matchmaking
6 comments
10 |1200

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

Sarah Zhang avatar image Sarah Zhang commented ·

Could you please tell us what is the platform did you use to develop the server executable, is it Unity, C# or another platform?

0 Likes 0 ·
samcsantillo avatar image samcsantillo Sarah Zhang commented ·

Unreal Engine with the C++ GSDK. We have the "Set Playfab Settings" node all hooked up and as well.

0 Likes 0 ·
Sarah Zhang avatar image Sarah Zhang samcsantillo commented ·

We will dig into it.

0 Likes 0 ·
Show more comments
Show more comments

1 Answer

·
Sarah Zhang avatar image
Sarah Zhang answered

After testing “GetEntityToken” via Blueprints, we found there are some issues to get Title Entity in PlayFab Unreal Blueprints SDK. We have informed our engineering team to investigate it.

Currently, a temporary solution to get title entity is to use some external Blueprints REST plugin to send the POST request directly. You can check the following example, in this example, we used the Plugin vaREST.

https://blueprintue.com/blueprint/_z6xazo8/

2 comments
10 |1200

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

samcsantillo avatar image samcsantillo commented ·

Apologies, had to take a look at some other stuff. Anyways, that seems to work great so thanks for that! As far as the "LoginWithCustomID" I get an error code 403 ("Action not authorized by title"). Is this something that needs to be set in the global title policy for the server?

0 Likes 0 ·
Sarah Zhang avatar image Sarah Zhang samcsantillo commented ·

To clarify some points, due to the restrictions of the current UnrealSDK, "Authentication Context" is difficult to expose. Using "login with" to expose it is not a best practice but a temporary workaround. If your situation is not urgent, you can wait for the engineering team to respond to this problem. If you can find a better way, you can also share it with us.

For this question, have you changed the policy settings? If you keep the policy default, you should not get this error. Could you please share screenshots of your blueprints? Please take care to hide personal information.

0 Likes 0 ·

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.