Error and Status Codes

Topics

This section describes errors, job and device status codes, as well as status codes you might find in AWS Import/Export log files.

Error Codes

There are a number of errors that can occur when sending an e-mail command. The following table describes e-mail error codes.

Code

Description

AccessDenied

Access Denied. You don’t have write permissions to the specified Amazon S3 bucket.

Change the manifest's bucket field to a bucket that the account, specified by the manifest's Access Key ID, has write permissions for.

AccountProblem

There is a problem with your AWS account that prevents the operation from completing successfully. Please contact customer service at webservices@amazon.com.

Fix the account problem or change the manifest's Access Key ID to a different account

CanceledJobId

The specified job ID has been canceled and is no longer valid.

ExpiredJobId

The specified job ID has expired and is no longer valid.

InvalidAccess Key ID

The AWS Access Key ID you provided does not exist in our records.

Correct the manifest’s Access Key ID field and resend the CREATE JOB e-mail.

InvalidManifestField

The manifest file contained one or more invalid fields: INVALID_FIELD

Update the manifest file and resubmit.

InvalidJobId

The specified job ID is not valid.

Correct the job ID and resend the e-mail.

InvalidSender

Your e-mail address is not signed up for this service. Please resend the command from a registered account.

MissingManifestAttachment

A manifest file attachment was expected, but none was found.

Resend a CREATE JOB e-mail with the manifest file attached.

MissingManifestField

The manifest file was missing one or more required fields: MISSING_FIELD

Update the manifest file and resubmit.

NoSuchBucket

The specified bucket does not exist.

Create the specified bucket or change the manifest's bucket field to a bucket that the account, specified by the manifest's Access Key ID, has write permissions to.

NotSignedUp

Your AWS account is not signed up for AWS Import/Export. You must sign up before you can use the service.

Either sign up the specified account for AWS Import/Export or change the manifest’s Access Key ID to a valid account.

UnableToCancelJobId

AWS Import/Export cannot cancel a completed job.

Job and Device Status Codes

Each AWS Import/Export job has both a device status and job status. The device status is the status of your storage device you mail to us. The job status reflects whether we have loaded your data onto Amazon S3.

Device Status Codes

The following table describes device status codes.

CodeDescription
AtAWSYour device is at AWS.
NotReceivedAWS has not received your device.
ReturnedYour device has been returned. The SHIPPER tracking number is TRACKING_NUMBER.

Job Status Codes

The following table describes job status codes.

CodeDescription
DeviceErrorThe job was aborted. Your device would not function properly.
ExpiredThe job expired.
InProgressThe data on your device is currently being loaded.
InvalidSignatureThe job was aborted. The SIGNATURE file was invalid.
MissingDeviceThe job was aborted. Your device, power supply, or device connectors were missing.
MissingSignatureThe job was aborted. The SIGNATURE file was missing.
PendingThe specified job has not started.
SuccessThe data loaded successfully. The import log was saved here: Import_LOG_URL
SuccessWithErrorsThe data load completed with NUMBER of errors.See the import log for more details.
UnsupportedDeviceTypeThe job was aborted. AWS Import/Export requires a USB2 connector types.
UnsupportedFileFormatThe job was aborted. AWS Import/Export requires a A FAT32, ext2, ext3, or NTFS file format.
UnsupportedPowerSupplyThe job was aborted. AWS Import/Export requires a 120 Volt 60Hz compatible power supply.

Log File Status Codes

This section describes the return codes and status messages that you might find in AWS Import/Export log files.

AWS Import/Export Status Codes

The following table describes AWS Import/Export status codes.

CodeStatusDescription
Ignored103File passed the manifest ignored filter.
OK200Success.
ReadError508Unable to read the specified file from disk.

Amazon S3 Status Codes

The following table describes Amazon S3 status codes.

CodeStatusDescription
AccessDenied403 ForbiddenAccess denied
AccountProblem403 ForbiddenThere is a problem with your AWS account that prevents the operation from completing successfully. Please contact customer service at webservices@amazon.com.
AllAccessDisabled401 UnauthorizedAll access to this object has been disabled.
AmbiguousGrantBy​EmailAddress400 Bad RequestThe e-mail address you provided is associated with more than one account.
BadDigest400 Bad RequestThe Content-MD5 you specified did not match what we received.
BucketAlreadyExists409 ConflictThe requested bucket name is not available. The bucket namespace is shared by all users of the system. Please select a different name and try again.
BucketAlreadyOwnedByYou409 ConflictYour previous request to create the named bucket succeeded and you already own it.
BucketNotEmpty409 ConflictThe bucket you tried to delete is not empty.
CredentialsNotSupported400 Bad RequestThis request does not support credentials.
CrossLocationLogging​Prohibited403 ForbiddenCross location logging not allowed. Buckets in one geographic location cannot log information to a bucket in another location.
EntityTooSmall400 Bad RequestYour proposed load is smaller than the minimum allowed object size.
EntityTooLarge400 Bad RequestYour proposed load exceeds the maximum allowed object size.
ExpiredToken400 Bad RequestThe provided token has expired.
IncompleteBody400 Bad RequestYou did not provide the number of bytes specified by the Content-Length HTTP header.
IncorrectNumberOf​FilesInPostRequest400 Bad RequestPOST requires exactly one file load per request.
InlineDataTooLarge400 Bad RequestInline data exceeds the maximum allowed size.
InternalError500 Internal Server ErrorWe encountered an internal error. Please try again.
InvalidAccess Key ID403 ForbiddenThe AWS Access Key Id you provided does not exist in our records.
InvalidAddressingHeader400 Bad RequestYou must specify the Anonymous role.
InvalidArgument400 Bad RequestInvalid Argument.
InvalidBucketName400 Bad RequestThe specified bucket is not valid.
InvalidDigest400 Bad RequestThe Content-MD5 you specified was an invalid.
InvalidLocationConstraint400 Bad RequestThe specified location constraint is not valid.
InvalidPayer403 ForbiddenAll access to this object has been disabled.
InvalidPolicyDocument400 Bad RequestThe content of the form does not meet the conditions specified in the policy document.
InvalidRange416 Requested Range Not SatisfiableThe requested range cannot be satisfied.
InvalidSecurity403 ForbiddenThe provided security credentials are not valid.
InvalidSOAPRequest400 Bad RequestThe SOAP request body is invalid.
InvalidStorageClass400 Bad RequestThe storage class you specified is not valid.
InvalidTargetBucket​ForLogging400 Bad RequestThe target bucket for logging does not exist, is not owned by you, or does not have the appropriate grants for the log-delivery group.
InvalidToken400 Bad RequestThe provided token is malformed or otherwise invalid.
InvalidURI400 Bad RequestCouldn't parse the specified URI.
KeyTooLong400 Bad RequestYour key pair is too long.
Malformed​ACLError400 Bad Request The XML you provided was not well-formed or did not validate against our published schema.
MalformedACLError400 Bad RequestThe XML you provided was not well-formed or did not validate against our published schema.
MalformedPOSTRequest 400 Bad RequestThe body of your POST request is not well-formed multipart/form-data.
MalformedXML400 Bad RequestThis happens when the user sends a malformed xml (xml that doesn't conform to the published xsd) for the configuration. The error message is, "The XML you provided was not well-formed or did not validate against our published schema."
MaxMessage​Length​Exceeded400 Bad Request Your request was too big.
MaxPostPreDataLength​ExceededError400 Bad RequestYour POST request fields preceding the load file were too large.
MetadataTooLarge400 Bad RequestYour metadata headers exceed the maximum allowed metadata size.
MethodNotAllowed405 Method Not AllowedThe specified method is not allowed against this resource.
MissingAttachment400 Bad RequestA SOAP attachment was expected, but none were found.
MissingContentLength411 Length RequiredYou must provide the Content-Length HTTP header.
MissingRequestBodyError400 Bad RequestThis happens when the user sends an empty xml document as a request. The error message is, "Request body is empty."
MissingSecurityElement400 Bad RequestThe SOAP 1.1 request is missing a security element.
MissingSecurityHeader400 Bad RequestYour request was missing a required header.
NoLoggingStatusForKey400 Bad RequestThere is no such thing as a logging status for a key pair.
NoSuchBucket404 Not FoundThe specified bucket does not exist.
NoSuchKey404 Not FoundThe specified key does not exist.
NotImplemented501 Not ImplementedA header you provided implies functionality that is not implemented.
NotSignedUp403 ForbiddenYour account is not signed up for the Amazon S3 service. You must sign up before you can use Amazon S3.
OperationAborted409 ConflictA conflicting conditional operation is currently in progress against this resource. Please try again.
PermanentRedirect301 Moved PermanentlyThe bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.
PreconditionFailed412 Precondition FailedAt least one of the preconditions you specified did not hold.
Redirect307 Moved TemporarilyTemporary redirect.
RequestIsNotMulti​PartContent400 Bad RequestBucket POST must be of the enclosure-type multipart/form-data.
RequestTimeout400 Bad RequestYour socket connection to the server was not read from or written to within the timeout period.
RequestTimeTooSkewed403 ForbiddenThe difference between the request time and the server's time is too large.
RequestTorrentOf​BucketError400 Bad RequestRequesting the torrent file of a bucket is not permitted.
SignatureDoesNotMatch403 ForbiddenThe request signature we calculated does not match the signature you provided. Check your Secret Access Key and signing method.
SlowDown503 Service UnavailablePlease reduce your request rate.
TemporaryRedirect307 Moved TemporarilyYou are being redirected to the bucket while DNS updates.
TokenRefreshRequired400 Bad RequestThe provided token must be refreshed.
TooManyBuckets400 Bad RequestYou have attempted to create more buckets than allowed.
UnexpectedContent400 Bad RequestThis request does not support content.
UnresolvableGrantBy​EmailAddress400 Bad RequestThe e-mail address you provided does not match any account on record.
UserKeyMustBeSpecified400 Bad RequestThe bucket POST must contain the specified field name. If it is specified, please check the order of the fields.