Enum ServiceError.Code
Enum of all known error codes that can be thrown by a service.
Namespace: Unity.Cloud.Common
Syntax
public enum Code
Fields
| Name | Description | Value |
|---|---|---|
| Unknown | The server encountered an unspecified error. |
0 |
| LegacyNotCompliant | Legacy error, usually means that the user's license is invalid. |
1 |
| LegacyVersionMismatch | Legacy error, the client version is not supported anymore. |
2 |
| LicensingMaximumSeatReached | Some floating licenses exist but are all taken or the maximum number of concurrent devices for a seat has been reached. |
100 |
| LicensingNoSeat | No entitlement exist for the requested floating license. |
101 |
| LicensingNoEntitlementAvailable | The requested entitlement does not exist. |
102 |
| AuthUnauthorized | The user is not authenticated and cannot access the requested resource. |
200 |
| AuthForbidden | The user is authenticated but does not have the right access the requested resource. |
201 |
| DeviceCodeExpired | The device code has expired |
202 |
| AuthFailed | The authentication failed. |
203 |
| SyncModelNotSupported | The provided SyncModel is not supported by the target sync service. |
300 |
| ProjectAlreadyExists | A project with the same name already exist. |
400 |
| GenericBadRequest | The request sent is missing some values or arguments. |
500 |
| GenericNotFound | The requested resource cannot be found on the server. |
501 |
| GenericConflict | The requested resource already exists. |
502 |
| GenericUnknownApp | The application header sent was not recognized by the server. |
503 |
| GenericServerError | The server encountered an unexpected error. |
504 |
| MultiplayerMaxCapacityReached | The server is at maximum capacity. |
600 |