Enum ServiceErrorCode
Enum of all known error codes that can be thrown by a service.
Namespace: Unity.Cloud.Common
Assembly: Unity.Cloud.Common.dll
Syntax
public enum ServiceErrorCode
Fields
| Name | Description |
|---|---|
| ApiMissing | The API does not exist. |
| Conflict | This request conflicts with the current state of the target resource. |
| FailedDependency | The requested action can't be performed because a dependent action has failed. |
| Forbidden | You don't have permission to perform this operation. |
| InvalidRequest | Part of the request is invalid. |
| InvalidToken | The authentication token provided is invalid. Generate a new authentication token and try again. |
| MethodNotAllowed | The target resource doesn't support this request method. |
| NoPermission | You don't have any permissions |
| NotFound | The target resource couldn't be found. |
| PayloadTooLarge | The request entity is larger than the limits defined by the server. |
| RequestRejected | The request was rejected before reaching the API. |
| ServiceUnavailable | The service is unavailable or overloaded. Try again later. |
| Timeout | The request timed out because no response was received in the time provided. |
| TokenExpired | The authentication token provided is expired. Generate a new authentication token and try again. |
| TooManyRequests | You're making multiple requests too frequently. Make your requests at a lower rate. |
| TransportError | DNS, TLS, and other transport errors that return an invalid response. |
| Unknown | The server encountered an unspecified error. |
| UnprocessableEntity | The content type and syntax of your request is correct, but the instructions are unprocessable. |
| UnsupportedMediaType | The payload format is not supported. |