docs.unity3d.com
    Show / Hide Table of Contents

    Enum RelationshipErrorCode

    Enumerates the known error causes when communicating with the Relationships Service. N.B. Error code range for this service: 24000-24999

    Namespace: Unity.Services.Friends.Exceptions
    Syntax
    public enum RelationshipErrorCode

    Fields

    Name Description Value
    ActionUnauthorizedWhenBlocked

    Error cannot perform action when blocked

    BadGateway

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

    BadRequest

    Error code representing HTTP Status Code of 400 for the Relationships Service. The Relationships service cannot process the request because it is invalid.

    Conflict

    Error code representing HTTP Status Code of 409 for the Relationships Service. There’s a conflict with the server's current state.

    DecodeMessageSchema

    Error decoding the message schema

    DecodePlayerIds

    Error decoding player IDs

    DecodePresenceSchema

    Error pagination limit must be a positive integer

    DecodeXUserHeader

    Error decoding x-user header

    DuplicateMember

    Error multiple members with the same user ID

    EntityNotFound

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

    Forbidden

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

    FriendshipAlreadyExists

    Error friendship already exists

    FriendshipDoesNotExist

    Error friendship does not exist

    GatewayTimeout

    Error code representing HTTP Status Code of 504 for the Relationships Service. The upstream server did not respond in time.

    GetEnvironmentIDFromHeader

    Could not get environment id from header

    GetProjectIDFromHeader

    Could not get project id from header

    GetSessionIDFromHeader

    Error invalid session ID from x-user header

    GetTargetUserFormat

    Error invalid target user format

    GetUserFromHeader

    Could not get user id from header

    GetUserTypeFromHeader

    Error unknown or invalid x-user-type

    Gone

    Error code representing HTTP Status Code of 410 for the Relationships Service. The requested resource is no longer available.

    InternalServerError

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

    InvalidAvailability

    Error availability has to be an accepted string

    InvalidCreateMissingCaller

    Error calling user should be included as a member in the relationship

    InvalidCreateSource

    Error creating relationship with a different user than the signed in one as the source

    InvalidCreateTarget

    Error creating relationship with the calling user as the target

    InvalidCreateTooManyMembers

    Error too many users specified as target

    MaxPayloadSize

    Error max payload size exceeded

    MethodNotAllowed

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

    Misdirected

    Error code representing HTTP Status Code of 421 for the Relationships Service. Unreachable endpoint.

    NegativePaginationLimit

    Error pagination limit must be a positive integer

    NegativePaginationOffset

    Error pagination offset must be a positive integer

    NetworkError

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

    NotificationConnectionError

    Error occured with the connection to the notification system.

    NotificationUnknown

    An unknown notification was received from the notification system.

    NotImplemented

    Error code representing HTTP Status Code of 501 for the Relationships Service. The server cannot fulfill the request.

    ProjectNotEnabled

    Error project should be enabled un Udash

    RangeNotSatisfiable

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

    RateLimited

    Error code representing HTTP Status Code of 429 for the Relationships Service. Rate limit exceeded.

    RelationshipAlreadyExists

    The relationship already exists

    RequestEntityTooLarge

    Error code representing HTTP Status Code of 413 for the Relationships Service. The request entity is too large.

    RequestTimeOut

    Error code representing HTTP Status Code of 408 for the Relationships Service. The request took too long.

    RequestUriTooLong

    Error code representing HTTP Status Code of 414 for the Relationships Service. The request URI is too long.

    RetrievePaginationLimit

    Error parsing pagination limit, it must be a positive integer

    RetrievePaginationOffset

    Error parsing pagination offset, it must be a positive integer

    RetrievePresenceFlag

    Error presence flag should be a boolean

    RetrieveSocialProfilesFlag

    Error profiles flag should be a boolean

    ServiceUnavailable

    Error code representing HTTP Status Code of 503 for the Relationships Service. The server is temporarily unable to handle the request.

    SwaggerValidation

    Error swagger validation

    Unauthorized

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

    UnavailableForLegalReasons

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

    Unknown

    Error unknown

    UnknownFlag

    Error unknown flag format

    UnprocessableTransaction

    Error code representing HTTP Status Code of 422 for the Relationships Service. The request cannot be processed.

    UnsupportedMediaType

    Error code representing HTTP Status Code of 415 for the Relationships Service. The request format is invalid.

    UserTargetingSelf

    Error user cannot target self

    ValidatingJws

    Error validating JWS

    Back to top
    Terms of use
    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