Package com.microsoft.graph.core
Enum Class GraphErrorCodes
- All Implemented Interfaces:
Serializable,Comparable<GraphErrorCodes>,Constable
The common Graph error codes
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe collar doesn't have permission to perform the actionNo description availableThe app or user has been throttledNo description availableNo description availableNo description availableNo description availableAccess restricted to the item's owner.Failed to get a consistent delta snapshot.Max limit on the number of child items was reached.ETag does not match the current item's value.No description availableNo description availableThe resource could not be found, specific to the Exchange workload.Declared total size for this fragment is different from that of the upload session.Uploaded fragment is out of order.Uploaded fragment overlaps with existing data.An unspecified error has occurred.Invalid accept type.Invalid parameter format.Name contains invalid characters.Invalid query option.The specified byte range is invalid or unavailable.The request is malformed or incorrect.Invalid start index.The resource could not be found.Lock token does not match existing lock.There is currently no unexpired lock on the item.Lock Owner ID does not match provided ID.ETag header is malformed.Malware was detected in the requested resource.Max limit on number of Documents is reached.Max file size exceeded.Max limit on number of Folders is reached.Max file size exceeded.Max limit on number of Items is reached.Max query length exceeded.Maximum stream size exceeded.The specified item name already exists.The action is not allowed by the system.The request is not supported by the system.Parameter Exceeds Maximum Length.Parameter is smaller then minimum value.Path exceeds maximum length.Folder hierarchy depth limit reached.Property not updateable.The user has reached their quota limit.The resource being updated has changed since the caller last read it, usually an eTag mismatch.Resync required.The delta token is no longer valid, and the app must reset the sync state.Resync required.The service is not available.Resource is temporarily read-only.Too many requests.The application is sending too many requests to the service.Too many results requested.Too many terms in the query.Operation is not allowed because the number of affected items exceeds threshold.Data truncation is not allowed.The caller is not authenticated.Upload session failed.Upload session incomplete.Upload session not found.This document is suspicious and may have a virus.Zero or fewer results requested. -
Method Summary
Modifier and TypeMethodDescriptionstatic GraphErrorCodesReturns the enum constant of this class with the specified name.static GraphErrorCodes[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACCESS_DENIED
The collar doesn't have permission to perform the action -
ACTIVITY_LIMIT_REACHED
The app or user has been throttled -
ASYNC_TASK_FAILED
No description available -
ASYNC_TASK_NOT_COMPLETED
No description available -
AUTHENTICATION_CANCELLED
No description available -
AUTHENTICATION_FAILURE
No description available -
GENERAL_EXCEPTION
An unspecified error has occurred. -
ERROR_ITEM_NOT_FOUND
The resource could not be found, specific to the Exchange workload. -
INVALID_RANGE
The specified byte range is invalid or unavailable. -
INVALID_REQUEST
The request is malformed or incorrect. -
ITEM_NOT_FOUND
The resource could not be found. -
MALWARE_DETECTED
Malware was detected in the requested resource. -
NAME_ALREADY_EXISTS
The specified item name already exists. -
NOT_ALLOWED
The action is not allowed by the system. -
NOT_SUPPORTED
The request is not supported by the system. -
QUOTA_LIMIT_REACHED
The user has reached their quota limit. -
RESOURCE_MODIFIED
The resource being updated has changed since the caller last read it, usually an eTag mismatch. -
RESYNC_REQUIRED
The delta token is no longer valid, and the app must reset the sync state. -
SERVICE_NOT_AVAILABLE
The service is not available. Try the request again after a delay. There may be a Retry-After header. -
TOO_MANY_REDIRECTS
The application is sending too many requests to the service. Try the request again after a delay. There may be a Retry-After header. -
UNAUTHENTICATED
The caller is not authenticated. -
ACCESS_RESTRICTED
No description available -
AUTHORIZATION_REQUEST_DENIED
Access restricted to the item's owner. -
CANNOT_SNAPSHOT_TREE
Failed to get a consistent delta snapshot. Try again later. -
CHILD_ITEM_COUNT_EXCEEDED
Max limit on the number of child items was reached. -
ERROR_INVALID_ID_MALFORMED
No description available -
ERROR_INVALID_USER
No description available -
ENTITY_TAG_DOES_NOT_MATCH
ETag does not match the current item's value. -
FRAGMENT_LENGTH_MISMATCH
Declared total size for this fragment is different from that of the upload session. -
FRAGMENT_OUT_OF_ORDER
Uploaded fragment is out of order. -
FRAGMENT_OVERLAP
Uploaded fragment overlaps with existing data. -
INVALID_ACCEPT_TYPE
Invalid accept type. -
INVALID_PARAMETER_FORMAT
Invalid parameter format. -
INVALID_PATH
Name contains invalid characters. -
INVALID_QUERY_OPTION
Invalid query option. -
INVALID_START_INDEX
Invalid start index. -
LOCK_MISMATCH
Lock token does not match existing lock. -
LOCK_NOT_FOUND_OR_ALREADY_EXPIRED
There is currently no unexpired lock on the item. -
LOCK_OWNER_MISMATCH
Lock Owner ID does not match provided ID. -
MALFORMED_ENTITY_TAG
ETag header is malformed. ETags must be quoted strings. -
MAX_DOCUMENT_COUNT_EXCEEDED
Max limit on number of Documents is reached. -
MAX_FILE_SIZE_EXCEEDED
Max file size exceeded. -
MAX_FOLDER_COUNT_EXCEEDED
Max limit on number of Folders is reached. -
MAX_FRAGMENT_LENGTH_EXCEEDED
Max file size exceeded. -
MAX_ITEM_COUNT_EXCEEDED
Max limit on number of Items is reached. -
MAX_QUERY_LENGTH_EXCEEDED
Max query length exceeded. -
MAX_STREAM_SIZE_EXCEEDED
Maximum stream size exceeded. -
PARAMETER_IS_TOO_LONG
Parameter Exceeds Maximum Length. -
PARAMETER_IS_TOO_SMALL
Parameter is smaller then minimum value. -
PATH_IS_TOO_LONG
Path exceeds maximum length. -
PATH_TOO_DEEP
Folder hierarchy depth limit reached. -
PROPERTY_NOT_UPDATEABLE
Property not updateable. -
RESYNC_APPLY_DIFFERENCES
Resync required. Replace any local items with the server's version (including deletes) if you're sure that the service was up to date with your local changes when you last sync'd. Upload any local changes that the server doesn't know about. -
RESYNC_UPLOAD_DIFFERENCES
Resync required. Upload any local items that the service did not return, and upload any files that differ from the server's version (keeping both copies if you're not sure which one is more up-to-date). -
SERVICE_READ_ONLY
Resource is temporarily read-only. -
THROTTLED_REQUEST
Too many requests. -
TOO_MANY_RESULTS_REQUESTED
Too many results requested. -
TOO_MANY_TERMS_IN_QUERY
Too many terms in the query. -
TOTAL_AFFECTED_ITEM_COUNT_EXCEEDED
Operation is not allowed because the number of affected items exceeds threshold. -
TRUNCATION_NOT_ALLOWED
Data truncation is not allowed. -
UPLOAD_SESSION_FAILED
Upload session failed. -
UPLOAD_SESSION_INCOMPLETE
Upload session incomplete. -
UPLOAD_SESSION_NOT_FOUND
Upload session not found. -
VIRUS_SUSPICIOUS
This document is suspicious and may have a virus. -
ZERO_OR_FEWER_RESULTS_REQUESTED
Zero or fewer results requested.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-