Enum LobbyExceptionReason
Enumerates the known error causes when communicating with the Lobby Service. N.B. Error code range for this service: 16000-16999
Namespace: Unity.Services.Lobbies
Syntax
public enum LobbyExceptionReasonFields
| Name | Description | Value | 
|---|---|---|
| UnknownErrorCode | The returned value could not be parsed, such as an error code was not included in the response.  | 0 | 
| ValidationError | Validation check failed on Lobby e.g. in the case of a failed player id match.  | 16000 | 
| LobbyNotFound | Lobby with the given ID was not found or has already ended.  | 16001 | 
| PlayerNotFound | Player data with the given ID was not found in the specified Lobby.  | 16002 | 
| LobbyConflict | There was a resource conflict when attempting to access Lobby data. Potentially caused by asynchronous access to resources.  | 16003 | 
| LobbyFull | Target Lobby already has the maximum number of players. No additional members can be added.  | 16004 | 
| LobbyLocked | Target Lobby is locked. No additional players can join.  | 16005 | 
| NoOpenLobbies | No accessible lobbies are currently available for quick-join.  | 16006 | 
| LobbyAlreadyExists | 16007 | |
| IncorrectPassword | Player attempted to join a lobby with a password that did not match the lobby's password.  | 16009 | 
| InvalidJoinCode | Player attempted to join a lobby with an invalid join code (e.g. it contained invalid characters).  | 16010 | 
| InvalidArgument | Error code representing HTTP Status Code of 400 for the Lobby Service. The request could not be understood by the server due to malformed syntax.  | 16400 | 
| BadRequest | Error code representing HTTP Status Code of 400 for the Lobby Service. The request made was invalid and will not be processed by the service.  | 16400 | 
| Unauthorized | Error code representing HTTP Status Code of 401 for the Lobby Service. The request requires authentication.  | 16401 | 
| PaymentRequired | Error code representing HTTP Status Code of 402 for the Lobby Service. This error code is reserved for future use.  | 16402 | 
| Forbidden | Error code representing HTTP Status Code of 403 for the Lobby Service. The server understood the request, and refuses to fulfill it.  | 16403 | 
| EntityNotFound | Error code representing HTTP Status Code of 404 for the Lobby Service. The server has not found the specified resource.  | 16404 | 
| MethodNotAllowed | Error code representing HTTP Status Code of 405 for the Lobby Service. The method specified is not allowed for the specified resource.  | 16405 | 
| NotAcceptable | Error code representing HTTP Status Code of 406 for the Lobby Service. The server cannot provide a response that matches the acceptable values for the request.  | 16406 | 
| ProxyAuthenticationRequired | Error code representing HTTP Status Code of 407 for the Lobby Service. The request requires authentication with the proxy.  | 16407 | 
| RequestTimeOut | Error code representing HTTP Status Code of 408 for the Lobby Service. The request was not made within the time the server was prepared to wait.  | 16408 | 
| Conflict | Error code representing HTTP Status Code of 409 for the Lobby Service. The request could not be completed due to a conflict with the current state on the server.  | 16409 | 
| Gone | Error code representing HTTP Status Code of 410 for the Lobby Service. The requested resource is no longer available and there is no known forwarding address.  | 16410 | 
| LengthRequired | Error code representing HTTP Status Code of 411 for the Lobby Service. The server refuses to accept the request without a defined content-length.  | 16411 | 
| PreconditionFailed | Error code representing HTTP Status Code of 412 for the Lobby Service. A precondition given in the request was not met when tested on the server.  | 16412 | 
| RequestEntityTooLarge | Error code representing HTTP Status Code of 413 for the Lobby Service. The request entity is larger than the server is willing or able to process.  | 16413 | 
| RequestUriTooLong | Error code representing HTTP Status Code of 414 for the Lobby Service. The request URI is longer than the server is willing to interpret.  | 16414 | 
| UnsupportedMediaType | Error code representing HTTP Status Code of 415 for the Lobby Service. The request is in a format not supported by the requested resource for the requested method.  | 16415 | 
| RangeNotSatisfiable | Error code representing HTTP Status Code of 416 for the Lobby Service. The requested ranges cannot be served.  | 16416 | 
| ExpectationFailed | Error code representing HTTP Status Code of 417 for the Lobby Service. An expectation in the request cannot be met by the server.  | 16417 | 
| Teapot | Error code representing HTTP Status Code of 418 for the Lobby Service. The server refuses to brew coffee because it is, permanently, a teapot. Defined by the Hyper Text Coffee Pot Control Protocol defined in April Fools' jokes in 1998 and 2014.  | 16418 | 
| Misdirected | Error code representing HTTP Status Code of 421 for the Lobby Service. The request was directed to a server that is not able to produce a response.  | 16421 | 
| UnprocessableTransaction | Error code representing HTTP Status Code of 422 for the Lobby Service. The request is understood, but the server was unable to process its instructions.  | 16422 | 
| Locked | Error code representing HTTP Status Code of 423 for the Lobby Service. The source or destination resource is locked.  | 16423 | 
| FailedDependency | Error code representing HTTP Status Code of 424 for the Lobby Service. The method could not be performed on the resource because a dependency for the action failed.  | 16424 | 
| TooEarly | Error code representing HTTP Status Code of 425 for the Lobby Service. The server is unwilling to risk processing a request that may be replayed.  | 16425 | 
| UpgradeRequired | Error code representing HTTP Status Code of 426 for the Lobby Service. The server refuses to perform the request using the current protocol.  | 16426 | 
| PreconditionRequired | Error code representing HTTP Status Code of 428 for the Lobby Service. The server requires the request to be conditional.  | 16428 | 
| RateLimited | Error code representing HTTP Status Code of 429 for the Lobby Service. Too many requests have been sent in a given amount of time. Please see: https://docs.unity.com/lobby/Content/rate-limits.htm for more details.  | 16429 | 
| RequestHeaderFieldsTooLarge | Error code representing HTTP Status Code of 431 for the Lobby Service. The request has been refused because its HTTP headers are too long.  | 16431 | 
| UnavailableForLegalReasons | Error code representing HTTP Status Code of 451 for the Lobby Service. The requested resource is not available for legal reasons.  | 16451 | 
| InternalServerError | Error code representing HTTP Status Code of 500 for the Lobby Service. The server encountered an unexpected condition which prevented it from fulfilling the request.  | 16500 | 
| NotImplemented | Error code representing HTTP Status Code of 501 for the Lobby Service. The server does not support the functionality required to fulfil the request.  | 16501 | 
| BadGateway | Error code representing HTTP Status Code of 502 for the Lobby Service. The server, while acting as a gateway or proxy, received an invalid response from the upstream server.  | 16502 | 
| ServiceUnavailable | Error code representing HTTP Status Code of 503 for the Lobby Service. The server is currently unable to handle the request due to a temporary reason.  | 16503 | 
| GatewayTimeout | Error code representing HTTP Status Code of 504 for the Lobby Service. The server, while acting as a gateway or proxy, did not get a response in time from the upstream server that it needed in order to complete the request.  | 16504 | 
| HttpVersionNotSupported | Error code representing HTTP Status Code of 505 for the Lobby Service. The server does not support the HTTP protocol that was used in the request.  | 16505 | 
| VariantAlsoNegotiates | Error code representing HTTP Status Code of 506 for the Lobby Service. The server has an internal configuration error: the chosen variant resource is configured to engage in transparent content negotiation itself, and is therefore not a proper end point in the negotiation process.  | 16506 | 
| InsufficientStorage | Error code representing HTTP Status Code of 507 for the Lobby Service. The server has insufficient storage space to complete the request.  | 16507 | 
| LoopDetected | Error code representing HTTP Status Code of 508 for the Lobby Service. The server terminated the request because it encountered an infinite loop.  | 16508 | 
| NotExtended | Error code representing HTTP Status Code of 510 for the Lobby Service. The policy for accessing the resource has not been met in the request.  | 16510 | 
| NetworkAuthenticationRequired | Error code representing HTTP Status Code of 511 for the Lobby Service. The request requires authentication for network access.  | 16511 | 
| AlreadySubscribedToLobby | Error code representing a LobbyEvent error for the Lobby Service. You are already subscribed to this lobby and have attempted to subscribe to it again.  | 16601 | 
| AlreadyUnsubscribedFromLobby | Error code representing a LobbyEvent error for the Lobby Service. You are already unsubscribed from this lobby and have attempted to unsubscribe from it again.  | 16602 | 
| SubscriptionToLobbyLostWhileBusy | Error code representing a LobbyEvent error for the Lobby Service. The connection was lost or dropped while attempting to do something with the connection such as subscribe or unsubscribe.  | 16603 | 
| LobbyEventServiceConnectionError | Error code representing a LobbyEvent error for the Lobby Service. Something went wrong when trying to connect to the Lobby service. Ensure a valid Lobby ID was sent.  | 16604 | 
| NetworkError | NetworkError is returned when the UnityWebRequest failed with this flag set. See the exception stack trace when this reason is provided for context.  | 16998 | 
| Unknown | Unknown is returned when a unrecognized error code is returned by the service. Check the inner exception to get more information.  | 16999 |