CDPStorage answers errors as S3 XML documents with an error code, a message and a request id.
This page lists the real error cases of the S3 endpoint, their causes and fixes.<STORAGE_HOST> is the storage address of your own installation, for example storage.example.com;<BUCKET> is your project.
First checks
- Note the error code from the XML answer (for example
SignatureDoesNotMatch) and the value of the headerx-amz-request-id. - Check the program settings: endpoint
https://<STORAGE_HOST>, path style on, Signature Version 4, regioneu-fra(or any other, but consistently). - Administrators find denied requests (
s3.denied) and failed signatures (s3.auth_failed) on the page "Audit log" of the web interface.
HTTP 403 – access refused
| Code / message | Cause | Fix |
|---|---|---|
SignatureDoesNotMatch | Wrong secret, or the request was changed after signing (other host name, proxy that rewrites headers, bucket in the host name instead of the path). | Copy the secret again or create a new key; switch on path style; connect directly to <STORAGE_HOST>. |
InvalidAccessKeyId | The key id does not exist (typing error or key removed). | Check the key id (starts with CDPK) on the page "Access keys (S3)". |
AccessDenied "This access key is disabled or expired." | Key disabled or validity period over. | Enable the key or create a new one. |
AccessDenied "This access key may not be used from your address." | IP allow list of the key does not contain the address of the program. | Add the address or network (CIDR) to the key, or create a key with the right list. |
AccessDenied "Access Denied" | Missing right (Read, Write, Delete) for the project, or the object key is outside the prefix of the key; also returned when the request carries no signature at all. | Create a key with the needed rights and scope; make sure the program signs every request. |
AccessDenied "This access key may not create buckets." | The program tried to create a bucket. | Create the project in the web interface, or use a key with "Create buckets". |
AccessDenied "Request has expired" | Presigned URL older than its X-Amz-Expires. | Create a new presigned URL (maximum 7 days). |
RequestTimeTooSkewed | Clock of the client differs by more than 15 minutes. | Synchronise the system clock (NTP). |
QuotaExceeded | The upload would exceed the quota of the project. | Delete objects (and empty the trash) or raise the quota in the project settings. |
HTTP 400 – request not accepted
InvalidRequest"Signature Version 2 is not supported" – set the program to Signature Version 4.InvalidRequest"Missing required header … x-amz-content-sha256" – the program must send this header; with curl add-H "x-amz-content-sha256: UNSIGNED-PAYLOAD".AuthorizationHeaderMalformed– the credential scope is not<key>/<date>/<region>/s3/aws4_request, or its date differs fromx-amz-date. Use service names3.InvalidBucketName– use 3–63 characters: lower-case letters, digits, dots, hyphens.EntityTooSmall– a multipart part other than the last is smaller than 5 MB; raise the part size.InvalidPart,InvalidPartOrder– the completion list names a part that was not uploaded, has a different ETag or is not in ascending order.BadDigest,XAmzContentSHA256Mismatch,IncompleteBody– the received content does not match Content-MD5, the SHA-256 or the announced length; usually a broken transfer. Repeat the upload.InvalidArgument– invalid object key (empty, longer than 1024 bytes, control characters,.or..segments) or part number outside 1–10000.
HTTP 404 and 409
NoSuchBucket– the bucket name is wrong, belongs to another account, or "S3 access" is switched off in the project settings.NoSuchKey– the object does not exist or is in the trash; restore it in CDPDrive if needed.NoSuchUpload– the multipart upload was already completed or aborted.BucketAlreadyExists/BucketAlreadyOwnedByYou– bucket names are unique in the installation; choose another name.BucketNotEmpty– delete all objects and abort open multipart uploads first.
Size limit, HTTP 413 and 500
One request may carry at most 5120 MB;
larger requests are rejected by the web server with HTTP 413.
Use multipart uploads for large files.
If an administrator has lowered max_object_mb, uploads above that value fail with InternalError (HTTP 500) in this version;
in that case split the upload into smaller parts or ask the administrator for the configured limit.
For any other InternalError, send the request id to your administrator.
HTTP 429, 501 and 503
- HTTP 429 – too many requests from one IP address (reference setup: 120 per second, burst 200). Reduce the number of parallel transfers and retry with a pause.
NotImplemented(501) – UploadPartCopy and GetObjectAttributes are not available. Switch off server-side multipart copy in the program, or copy large objects with download and upload.ServiceUnavailable(503) "The Storage module is switched off or not licensed" – the administrator has to switch onmodule_storageor install a licence that contains Storage.ServiceUnavailable(503) during uploads – fewer storage nodes are online than the number of copies requires. The administrator checks the nodes on the page "Storage nodes".
Path style and addressing problems
If the program builds addresses like <BUCKET>.<STORAGE_HOST>, the connection fails with a certificate or host error, because only <STORAGE_HOST> itself is served.
Switch on path style.
If you open https://<STORAGE_HOST>/ in a browser, a short status page is shown instead of an XML error –
this is expected and not an error.