YieldFunction Tuple TeleportService:GetPlayerPlaceInstanceAsync(int userId)
This method returns, on success: true, placeId, jobId
It’s expected that when it can’t, it would return false, errorMessage.
When it first got released, this was the case, but this got changed afterwards.
Apparently the web API itself returns (for example) a 503 User is offline in the HTTP headers.
Previously, this would still return a 200 OK and have the error message in the returned body.
Since it now returns a 503, the in-game method errors too, since it’s “just a HTTP error”.
Could the method be changed to catch the error and return the right arguments?
Another solution would be changing the web API so it returns the error message.