Enum ApiResultCode
Namespace: CG.Web.MegaApiClient
Assembly: MegaApiClient.dll
Syntax
public enum ApiResultCode
Fields
Name | Description |
---|---|
AccessDenied | API_EACCESS (-11): Access violation (e.g., trying to write to a read-only share) |
BadArguments | API_EARGS (-2): You have passed invalid arguments to this command. |
BadSessionId | API_ESID (-15): Invalid or expired user session, please relogin |
CircularLinkage | API_ECIRCULAR (-10): Circular linkage attempted |
CryptographicError | API_EKEY (-14): A decryption operation failed (never returned by the API) |
FileCouldNotBeReadFrom | API_EREAD (-21): Read failed |
FileCouldNotBeWrittenTo | API_EWRITE (-20): Write failed |
HashcashRequired | Hashcash calculation required |
InternalError | API_EINTERNAL (-1): An internal error has occurred. Please submit a bug report, detailing the exact circumstances in which this error occurred. |
InvalidOrMissingApplicationKey | API_EAPPKEY (-22): Invalid application key; request not processed |
Ok | API_OK (0): Success |
QuotaExceeded | API_EOVERQUOTA (-17): Request over quota |
RequestFailedPermanetly | API_EFAILED (-5): The upload failed. Please restart it from scratch. |
RequestFailedRetry | API_EAGAIN (-3) (always at the request level): A temporary congestion or server malfunction prevented your request from being processed. No data was altered. Retry. Retries must be spaced with exponential backoff. |
RequestIncomplete | API_EINCOMPLETE (-13): Trying to access an incomplete resource |
ResourceAccessOutOfRange | API_ERANGE (-7): The upload file packet is out of range or not starting and ending on a chunk boundary. |
ResourceAdministrativelyBlocked | API_EBLOCKED (-16): User blocked |
ResourceAlreadyExists | API_EEXIST (-12): Trying to create an object that already exists |
ResourceExpired | API_EEXPIRED (-8): The upload target URL you are trying to access has expired. Please request a fresh one. |
ResourceNotExists | API_EOENT (-9): Object (typically, node or user) not found |
ResourceTemporarilyNotAvailable | API_ETEMPUNAVAIL (-18): Resource temporarily not available, please try again later |
ToManyRequestsForThisResource | API_ETOOMANY (-6): Too many concurrent IP addresses are accessing this upload target URL. |
TooManyConnectionsOnThisResource | API_ETOOMANYCONNECTIONS (-19): Too many connections on this resource |
TooManyRequests | API_ERATELIMIT (-4): You have exceeded your command weight per time quota. Please wait a few seconds, then try again (this should never happen in sane real-life applications). |
TwoFactorAuthenticationError | Login requires Two-Factor Authentication |