HTTP 404
A 404 error means the storage cannot find the requested file. Two common causes:- The file hasn’t been uploaded yet — confirm the file exists via the Gcore Customer Portal or an S3-compatible client.
- The request URL is malformed — Object Storage files are accessed as
http(s)://<bucket-name>.<hostname>, where the hostname for each location is in the Details section of the storage in the Customer Portal or in the URL format reference.
HTTP 403
A 403 error means the file or bucket is private — Object Storage buckets and files block external access by default. To allow public access, set an ACL (Access Control List) rule on the bucket or file. Both AWS CLI and s3cmd support this operation.AWS CLI
Runput-object-acl with --acl public-read to grant public read access:
my_bucket with the bucket name, file.jpg with the filename, and s3-ed1.cloud.gcore.lu with the service URL for the storage location.
s3cmd
Runsetacl --acl-public to grant public read access:
my_bucket with the bucket name and file.jpg with the filename.