OssErrorCode Fields |
The OssErrorCode type exposes the following members.
Name | Description | |
---|---|---|
AccessDenied |
Access Denied
| |
BucketAlreadyExists |
Bucket already exists
| |
BucketNotEmtpy |
Bucket is not empty (so that deletion will not work)
| |
CallbackFailed |
203 callback call failed
| |
EntityTooLarge |
Entity is too large
| |
EntityTooSmall |
Entity is too small (this could happen when trying to use multipart upload for a small file.
| |
FieldItemTooLong |
The item is too long in the post request.
| |
FileGroupTooLarge |
File group is too large.
| |
FilePartInterity |
File part has been changed.
| |
FilePartNotExist |
File part does not exist
| |
FilePartStale |
File part has been expired.
| |
IncorrectNumberOfFilesInPOSTRequest |
File count is invalid in the post.
| |
InternalError |
OSS internal error (possibly OSS bug)
| |
InvalidAccessKeyId |
Access ID does not exist
| |
InvalidArgument |
Invalid argument
| |
InvalidBucketName |
Invalid bucket name
| |
InvalidDigest |
Invalid digest
| |
InvalidEncryptionAlgorithmError |
Invalid Encryption Algorithems error
| |
InvalidLinkName |
Object Link has the same name of the object it points to.
| |
InvalidObjectName |
Invalid object name
| |
InvalidPart |
Invalid part
| |
InvalidPartOrder |
Invalid part order (the part Ids must be in ascending order)
| |
InvalidPolicyDocument |
Invalid policy document
| |
InvalidTargetBucketForLogging |
Invalid target bucket for logginbg
| |
LinkPartNotExist |
Object Link points to a non-existing object.
| |
MalformedPOSTRequest |
Malformed body in the post request.
| |
MalformedXML |
Malformed XML
| |
MaxPOSTPreDataLengthExceededError |
The non-content body size in a file upload request is too big
| |
MethodNotAllowed |
HTTP Method is not allowed.(for example some CORS rules could define allowed methods)
| |
MissingArgument |
Missing argument
| |
MissingContentLength |
Missing content length--in HTTP post/put requests, the content length is needed.
| |
NoSuchBucket |
Bucket does not exist.
| |
NoSuchCORSConfiguration |
CORS rules do not exist
| |
NoSuchKey |
Object does not exist in OSS
| |
NoSuchUpload |
Multipart Upload ID does not exist
| |
NoSuchWebsiteConfiguration |
The source bucket is not enabled with static website
| |
NotImplemented |
Not implemented methods
| |
NotModified |
304 Not modified
| |
ObjectLinkTooLarge |
Object Link's object count is more than 1. One symlink could only point to one object.
| |
PreconditionFailed |
Precondition failed.
| |
RequestIsNotMultiPartContent |
Invalid content-type in the post request.
| |
RequestTimeout |
Request timeout
| |
RequestTimeTooSkewed |
The time skew is too big (more than 15 minutes)
| |
SignatureDoesNotMatch |
Signature does not match
| |
TooManyBuckets |
Bucket counts exceeds the limit
|