So, I tested the Playfab custom game server (https://github.com/PlayFab/PlayFabGameServer) and it worked fine when I followed all the steps mentioned in the Readme of the repo.
Now I am trying to test this as an externally hosted game server, so I followed this tutorial (https://api.playfab.com/docs/tutorials/external-game-servers) and updated the code with RegisterGame and RefreshGameServerInstanceHeartbeat, then I made a headless Linux build with unity and uploaded it on our own server, now when I am running this server, my server gets registered with playfab, my client gets logged in, but my client authentication fails, in server log I get this error: GameTicketDoesNotMatchLobby.
Previously I was not using the correct LobbyId but now I am using the LobbyId which I get in return after hitting the RegisterGame API. So, now I don't know what is causing this error. so, any help in debugging?