Class CommonErrorCodes
Common error codes.
Inherited Members
Namespace: Unity.Services.Core
Assembly: Unity.Services.Core.dll
Syntax
public static class CommonErrorCodesFields
ApiMissing
The API does not exist.
Declaration
public const int ApiMissing = 4Field Value
| Type | Description | 
|---|---|
| int | 
Conflict
There is a conflict between the request and the current state of the resource.
Declaration
public const int Conflict = 58Field Value
| Type | Description | 
|---|---|
| int | 
Forbidden
User does not have permission to perform the requested operation.
Declaration
public const int Forbidden = 53Field 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 = 55Field Value
| Type | Description | 
|---|---|
| int | 
InvalidToken
The authentication token is malformed or invalid.
Declaration
public const int InvalidToken = 51Field Value
| Type | Description | 
|---|---|
| int | 
NotFound
The requested resource was not found.
Declaration
public const int NotFound = 54Field Value
| Type | Description | 
|---|---|
| int | 
PlayerPolicyAccessDenied
Access to this endpoint for the current player was restricted for the specified project.
Declaration
public const int PlayerPolicyAccessDenied = 57Field Value
| Type | Description | 
|---|---|
| int | 
ProjectPolicyAccessDenied
Access to this endpoint was restricted for the specified project.
Declaration
public const int ProjectPolicyAccessDenied = 56Field 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 = 5Field Value
| Type | Description | 
|---|---|
| int | 
ServiceUnavailable
Service is unavailable. Typically returned when the service is overloaded.
Declaration
public const int ServiceUnavailable = 3Field Value
| Type | Description | 
|---|---|
| int | 
Timeout
The request timed out because no response was received in the alotted time.
Declaration
public const int Timeout = 2Field Value
| Type | Description | 
|---|---|
| int | 
TokenExpired
The authentication token is expired.
Declaration
public const int TokenExpired = 52Field Value
| Type | Description | 
|---|---|
| int | 
TooManyRequests
Request was rate limited. The client is making requests too frequently.
Declaration
public const int TooManyRequests = 50Field Value
| Type | Description | 
|---|---|
| int | 
TransportError
DNS, TLS, and other transport errors that result in no valid HTTP response.
Declaration
public const int TransportError = 1Field Value
| Type | Description | 
|---|---|
| int | 
Unknown
Unable to determine what the error is.
Declaration
public const int Unknown = 0Field Value
| Type | Description | 
|---|---|
| int |