v1.0.0
Latest
2022.3+

Enum MatchmakerExceptionReason

Enumerates the known error causes when communicating with the Matchmaker Service.

Namespace: Unity.Services.Matchmaker
Syntax
public enum MatchmakerExceptionReason

Fields

NameDescriptionValue
Min

Start of the range of error codes addressable by the Matchmaker Service.

21000
BadRequest

The Matchmaker Service could not understand the request due to an invalid value or syntax.

21400
Unauthorized

The Matchmaker Service could not determine the user identity.

21401
PaymentRequired

This error code is reserved for future use.

21402
Forbidden

The user does not have permission to access the requested resource.

21403
EntityNotFound

The requested entity (server fleet, matchmaker queue or region) does not exist.

21404
MethodNotAllowed

The method specified is not allowed for the specified resource.

21405
NotAcceptable

The server cannot provide a response that matches the acceptable values for the request.

21406
ProxyAuthenticationRequired

The request requires authentication with the proxy.

21407
RequestTimeOut

The request was not made within the time the server was prepared to wait.

21408
Conflict

The request could not be completed due to a conflict with the current state on the server.

21409
Gone

The requested resource is no longer available and there is no known forwarding address.

21410
LengthRequired

The server refuses to accept the request without a defined content-length.

21411
PreconditionFailed

A precondition given in the request was not met when tested on the server.

21412
RequestEntityTooLarge

The request entity is larger than the server is willing or able to process.

21413
RequestUriTooLong

The request URI is longer than the server is willing to interpret.

21414
UnsupportedMediaType

The request is in a format not supported by the requested resource for the requested method.

21415
RangeNotSatisfiable

The requested ranges cannot be served.

21416
ExpectationFailed

An expectation in the request cannot be met by the server.

21417
Teapot

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.

21418
Misdirected

The request was directed to a server that is not able to produce a response.

21421
UnprocessableTransaction

The request is understood, but the server was unable to process its instructions.

21422
Locked

The source or destination resource is locked.

21423
FailedDependency

The method could not be performed on the resource because a dependency for the action failed.

21424
TooEarly

The server is unwilling to risk processing a request that may be replayed.

21425
UpgradeRequired

The server refuses to perform the request using the current protocol.

21426
PreconditionRequired

The server requires the request to be conditional.

21428
RateLimited

Too many requests have been sent in a given amount of time. Please see: https://docs.unity.com/matchmaker/Content/rate-limits.htm for more details.

21429
RequestHeaderFieldsTooLarge

The request has been refused because its HTTP headers are too long.

21431
UnavailableForLegalReasons

The requested resource is not available for legal reasons.

21451
InternalServerError

The Matchmaker Service has encountered a situation it doesn't know how to handle.

21500
NotImplemented

The server does not support the functionality required to fulfil the request.

21501
BadGateway

The server, while acting as a gateway or proxy, received an invalid response from the upstream server.

21502
ServiceUnavailable

The Matchmaker Service is not ready to handle the request. Common causes are a server that is down for maintenance or that is overloaded. Try again later.

21503
GatewayTimeout

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.

21504
HttpVersionNotSupported

The server does not support the HTTP protocol that was used in the request.

21505
VariantAlsoNegotiates

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.

21506
InsufficientStorage

The server has insufficient storage space to complete the request.

21507
LoopDetected

The server terminated the request because it encountered an infinite loop.

21508
NotExtended

The policy for accessing the resource has not been met in the request.

21510
NetworkAuthenticationRequired

The request requires authentication for network access.

21511
NetworkError

NetworkError is returned when the client is unable to connect to the service due to a network error like when TLS Negotiation fails.

21998
Max

End of the range of error codes addressable by the Matchmaker Service.

21999
Unknown

Unknown is returned when a unrecognized error code is returned by the service. Check the inner exception to get more information.

21999