docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CommonErrorCodes

    Common error codes.

    Inheritance
    object
    CommonErrorCodes
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Core
    Assembly: Unity.Services.Core.dll
    Syntax
    public static class CommonErrorCodes

    Fields

    ApiMissing

    The API does not exist.

    Declaration
    public const int ApiMissing = 4
    Field Value
    Type Description
    int

    Conflict

    There is a conflict between the request and the current state of the resource.

    Declaration
    public const int Conflict = 58
    Field Value
    Type Description
    int

    Forbidden

    User does not have permission to perform the requested operation.

    Declaration
    public const int Forbidden = 53
    Field Value
    Type Description
    int

    InvalidRequest

    The request was understood but the API refused to process it because something about it was invalid.

    Declaration
    public const int InvalidRequest = 55
    Field Value
    Type Description
    int

    InvalidToken

    The authentication token is malformed or invalid.

    Declaration
    public const int InvalidToken = 51
    Field Value
    Type Description
    int

    NotFound

    The requested resource was not found.

    Declaration
    public const int NotFound = 54
    Field Value
    Type Description
    int

    PlayerPolicyAccessDenied

    Access to this endpoint for the current player was restricted for the specified project.

    Declaration
    public const int PlayerPolicyAccessDenied = 57
    Field Value
    Type Description
    int

    ProjectPolicyAccessDenied

    Access to this endpoint was restricted for the specified project.

    Declaration
    public const int ProjectPolicyAccessDenied = 56
    Field Value
    Type Description
    int

    RequestRejected

    The request was rejected. Typically returned when the request was rejected before any reaching the API. See title/details for more information.

    Declaration
    public const int RequestRejected = 5
    Field Value
    Type Description
    int

    ServiceUnavailable

    Service is unavailable. Typically returned when the service is overloaded.

    Declaration
    public const int ServiceUnavailable = 3
    Field Value
    Type Description
    int

    Timeout

    The request timed out because no response was received in the alotted time.

    Declaration
    public const int Timeout = 2
    Field Value
    Type Description
    int

    TokenExpired

    The authentication token is expired.

    Declaration
    public const int TokenExpired = 52
    Field Value
    Type Description
    int

    TooManyRequests

    Request was rate limited. The client is making requests too frequently.

    Declaration
    public const int TooManyRequests = 50
    Field Value
    Type Description
    int

    TransportError

    DNS, TLS, and other transport errors that result in no valid HTTP response.

    Declaration
    public const int TransportError = 1
    Field Value
    Type Description
    int

    Unknown

    Unable to determine what the error is.

    Declaration
    public const int Unknown = 0
    Field Value
    Type Description
    int
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)