Before anyone says it’s a problem with my script, my game does a teleport and ALMOST always works, but sometimes I get this error:
Here the main piece of the code:
TeleportService:TeleportAsync(PlaceId, {Player}, TeleportOptions)
But, as I said above, SOMETIMES I get this error.
Hence, the only way for it to work is to close the Player and open it again.
Sometimes I have to repeat this process SEVERAL TIMES UNTIL I GET IT.
In the new Error Report, I have this line:
Edit
I found this Player log, which, despite not having the message “Attempted to teleport to a place that is restricted (Error Code 773)
” (shown in the first image - title of this topic), it has the message “Teleport failed because Access code for reserved server is not valid. (Unauthorized)
” (second image).
Here is the file:
0.591.0.5910633_20230829T233150Z_Player_232DF_last.log (321.8 KB)
Here is the relevant snippet in the log:
2023-08-29T23:49:04.011Z,1033.011841,57ac,6 [FLog::SingleSurfaceApp] initiateTeleport
2023-08-29T23:49:04.011Z,1033.011841,52a4,6 [FLog::GameJoinUtil] GameJoinUtil::initiateTeleportToReservedServer: URL: https://gamejoin.roblox.com/v1/join-reserved-game POST Body: {"placeId":10694573182,"isTeleport":true,"accessCode":"9qAI6JVL2PfNA0Ke0Vqr86bvFvHJTgpBmaWADTO-C_t-PHJ9AgAAAA2","gameJoinAttemptId":"577F7D6A-4EC0-4DFF-B09E-06A839BCD79C"}
2023-08-29T23:49:04.012Z,1033.012817,52a4,6 [FLog::GameJoinUtil] GameJoinUtil::makePlaceLauncherRequestForTeleport: requestCount: 0, url: https://gamejoin.roblox.com/v1/join-reserved-game
2023-08-29T23:49:04.013Z,1033.013794,52a4,6 [FLog::GameJoinUtil] Delaying request by 0.00 seconds
2023-08-29T23:49:04.244Z,1033.244507,0f78,6 [FLog::GameJoinUtil] GameJoinUtil::makePlaceLauncherRequestForTeleport, response:
{"jobId":"JoinPrivateGame:PlaceId=10694573182&AccessCode=f116efa6-4ec9-410a-99a5-800d33be0bfb","status":0,"joinScriptUrl":null,"authenticationUrl":null,"authenticationTicket":null,"message":null,"joinScript":null,"queuePosition":0}
status code: 200
httpErrorCode: 0
errorMessage:
2023-08-29T23:49:04.244Z,1033.244507,0f78,6 [FLog::GameJoinUtil] GameJoinUtil::makePlaceLauncherRequestForTeleport: requestCount: 1, url: https://gamejoin.roblox.com/v1/join-reserved-game
2023-08-29T23:49:04.244Z,1033.244507,0f78,6 [FLog::GameJoinUtil] Delaying request by 0.77 seconds
2023-08-29T23:49:06.204Z,1035.204346,0f78,6 [FLog::GameJoinUtil] GameJoinUtil::makePlaceLauncherRequestForTeleport, response:
{"jobId":null,"status":12,"joinScriptUrl":null,"authenticationUrl":null,"authenticationTicket":null,"message":"Access code for reserved server is not valid.","joinScript":null,"queuePosition":0}
status code: 200
httpErrorCode: 0
errorMessage:
2023-08-29T23:49:06.204Z,1035.204346,0f78,6 [FLog::GameJoinUtil] Default handler, teleport failed, with state: Not authorized to join this experience
2023-08-29T23:49:06.206Z,1035.206299,07a0,6 [FLog::Error] Error: raiseTeleportInitFailedEvent: Teleport failed because Access code for reserved server is not valid. (Unauthorized)