docs.unity3d.com
    Show / Hide Table of Contents

    Enum MultiplayExceptionReason

    Enumerates the known error causes when communicating with the Multiplay Service. N.B. Error code range for this service: 25000-25999

    Namespace: Unity.Services.Multiplay
    Syntax
    public enum MultiplayExceptionReason

    Fields

    Name Description Value
    UnknownErrorCode

    The returned value could not be parsed, such as an error code was not included in the response.


    0
    BadRequest

    Error code representing HTTP Status Code of 400 for the Multiplay Service. The request made was invalid and will not be processed by the service.


    25400
    Unauthorized

    Error code representing HTTP Status Code of 401 for the Multiplay Service. The request requires authentication.


    25401
    PaymentRequired

    Error code representing HTTP Status Code of 402 for the Multiplay Service. This error code is reserved for future use.


    25402
    Forbidden

    Error code representing HTTP Status Code of 403 for the Multiplay Service. The server understood the request, and refuses to fulfill it.


    25403
    EntityNotFound

    Error code representing HTTP Status Code of 404 for the Multiplay Service. The server has not found the specified resource.


    25404
    MethodNotAllowed

    Error code representing HTTP Status Code of 405 for the Multiplay Service. The method specified is not allowed for the specified resource.


    25405
    NotAcceptable

    Error code representing HTTP Status Code of 406 for the Multiplay Service. The server cannot provide a response that matches the acceptable values for the request.


    25406
    ProxyAuthenticationRequired

    Error code representing HTTP Status Code of 407 for the Multiplay Service. The request requires authentication with the proxy.


    25407
    RequestTimeOut

    Error code representing HTTP Status Code of 408 for the Multiplay Service. The request was not made within the time the server was prepared to wait.


    25408
    Conflict

    Error code representing HTTP Status Code of 409 for the Multiplay Service. The request could not be completed due to a conflict with the current state on the server.


    25409
    Gone

    Error code representing HTTP Status Code of 410 for the Multiplay Service. The requested resource is no longer available and there is no known forwarding address.


    25410
    LengthRequired

    Error code representing HTTP Status Code of 411 for the Multiplay Service. The server refuses to accept the request without a defined content-length.


    25411
    PreconditionFailed

    Error code representing HTTP Status Code of 412 for the Multiplay Service. A precondition given in the request was not met when tested on the server.


    25412
    RequestEntityTooLarge

    Error code representing HTTP Status Code of 413 for the Multiplay Service. The request entity is larger than the server is willing or able to process.


    25413
    RequestUriTooLong

    Error code representing HTTP Status Code of 414 for the Multiplay Service. The request URI is longer than the server is willing to interpret.


    25414
    UnsupportedMediaType

    Error code representing HTTP Status Code of 415 for the Multiplay Service. The request is in a format not supported by the requested resource for the requested method.


    25415
    RangeNotSatisfiable

    Error code representing HTTP Status Code of 416 for the Multiplay Service. The requested ranges cannot be served.


    25416
    ExpectationFailed

    Error code representing HTTP Status Code of 417 for the Multiplay Service. An expectation in the request cannot be met by the server.


    25417
    Teapot

    Error code representing HTTP Status Code of 418 for the Multiplay 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.


    25418
    Misdirected

    Error code representing HTTP Status Code of 421 for the Multiplay Service. The request was directed to a server that is not able to produce a response.


    25421
    UnprocessableTransaction

    Error code representing HTTP Status Code of 422 for the Multiplay Service. The request is understood, but the server was unable to process its instructions.


    25422
    Locked

    Error code representing HTTP Status Code of 423 for the Multiplay Service. The source or destination resource is locked.


    25423
    FailedDependency

    Error code representing HTTP Status Code of 424 for the Multiplay Service. The method could not be performed on the resource because a dependency for the action failed.


    25424
    TooEarly

    Error code representing HTTP Status Code of 425 for the Multiplay Service. The server is unwilling to risk processing a request that may be replayed.


    25425
    UpgradeRequired

    Error code representing HTTP Status Code of 426 for the Multiplay Service. The server refuses to perform the request using the current protocol.


    25426
    PreconditionRequired

    Error code representing HTTP Status Code of 428 for the Multiplay Service. The server requires the request to be conditional.


    25428
    RateLimited

    Error code representing HTTP Status Code of 429 for the Multiplay Service. Too many requests have been sent in a given amount of time.


    25429
    RequestHeaderFieldsTooLarge

    Error code representing HTTP Status Code of 431 for the Multiplay Service. The request has been refused because its HTTP headers are too long.


    25431
    UnavailableForLegalReasons

    Error code representing HTTP Status Code of 451 for the Multiplay Service. The requested resource is not available for legal reasons.


    25451
    InternalServerError

    Error code representing HTTP Status Code of 500 for the Multiplay Service. The server encountered an unexpected condition which prevented it from fulfilling the request.


    25500
    NotImplemented

    Error code representing HTTP Status Code of 501 for the Multiplay Service. The server does not support the functionality required to fulfil the request.


    25501
    BadGateway

    Error code representing HTTP Status Code of 502 for the Multiplay Service. The server, while acting as a gateway or proxy, received an invalid response from the upstream server.


    25502
    ServiceUnavailable

    Error code representing HTTP Status Code of 503 for the Multiplay Service. The server is currently unable to handle the request due to a temporary reason.


    25503
    GatewayTimeout

    Error code representing HTTP Status Code of 504 for the Multiplay 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.


    25504
    HttpVersionNotSupported

    Error code representing HTTP Status Code of 505 for the Multiplay Service. The server does not support the HTTP protocol that was used in the request.


    25505
    VariantAlsoNegotiates

    Error code representing HTTP Status Code of 506 for the Multiplay 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.


    25506
    InsufficientStorage

    Error code representing HTTP Status Code of 507 for the Multiplay Service. The server has insufficient storage space to complete the request.


    25507
    LoopDetected

    Error code representing HTTP Status Code of 508 for the Multiplay Service. The server terminated the request because it encountered an infinite loop.


    25508
    NotExtended

    Error code representing HTTP Status Code of 510 for the Multiplay Service. The policy for accessing the resource has not been met in the request.


    25510
    NetworkAuthenticationRequired

    Error code representing HTTP Status Code of 511 for the Multiplay Service. The request requires authentication for network access.


    25511
    AlreadySubscribedToLobby

    Error code representing a ServerEvent error for the Multiplay Service. You are already subscribed to this lobby and have attempted to subscribe to it again.


    25601
    AlreadyUnsubscribedFromLobby

    Error code representing a ServerEvent error for the Multiplay Service. You are already unsubscribed from this lobby and have attempted to unsubscribe from it again.


    25602
    SubscriptionToLobbyLostWhileBusy

    Error code representing a ServerEvent error for the Multiplay Service. The connection was lost or dropped while attempting to do something with the connection such as subscribe or unsubscribe.


    25603
    LobbyEventServiceConnectionError

    Error code representing a ServerEvent error for the Multiplay Service. Something went wrong when trying to connect to the lobby service. Ensure a valid Lobby ID was sent.


    25604
    NetworkError

    NetworkError is returned when the UnityWebRequest failed with this flag set. See the exception stack trace when this reason is provided for context.


    25998
    Unknown

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


    25999
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023