Skip to main content
Guyun
Language 简体 繁體 English

Common errors

When a connection fails, start here: the table lists the usual error codes per provider and what to do.

If you arrived from Guyun with an error code, the matching row is highlighted.

Check these three first

The bucket name is complete (Tencent Cloud COS appends -APPID, which is part of the name).

The endpoint is the service endpoint, not the “access domain” the console shows; it holds the host only — no bucket name, no path.

The key covers this one bucket (never the root account's key).

Error codes and fixes

ProviderSymptom / codeWhat it usually isWhat to do
Any403 AccessDeniedthe key has no permission, or the bucket name in the policy is wrongread the “minimal policy” section of that provider's guide
AnySignatureDoesNotMatch / InvalidAccessKeyIdthe key was copied wrongly, or the secret was shown once and not savedgenerate a new key pair and copy it whole
AnyTest connection & save passes, but uploads failonly read permission was granted (list buckets, get objects)add permission to write and delete objects
AnyWill not connect, or times out, with no error codethe endpoint or the addressing style is wronguse the endpoint rule from the guide; make sure it has no bucket name or path
Alibaba Cloud OSSPublicEndpointForbiddenthe bucket is in mainland China and the account activated OSS on or after 20 March 2025, but the default public endpoint was usedbind a domain with a completed ICP filing (route 1), or move the bucket to an overseas region
Alibaba Cloud OSSCannot connect after binding your own domainDNS has not picked up the CNAME yet, or the certificate is wrongwait for DNS (usually minutes); check the certificate matches the domain and the addressing mode is custom domain (CNAME)
Tencent Cloud COS403 AccessDenied (the key looks right)the bucket name was copied without its -APPID suffixcopy the full bucket name from the console (e.g. my-photos-1234567890)
Tencent Cloud COSThe endpoint holds the console's “access domain”that address already contains the bucket name and is meant for browsersuse https://cos.<region>.myqcloud.com as the endpoint and enter the bucket name separately
Tencent Cloud COSThe SecretKey was not savedthe secret is shown once, when the sub-user is createdgenerate a new key pair for that sub-user in CAM and replace both values in Guyun
AWS S3AuthorizationHeaderMalformed / PermanentRedirect (301)the region in the endpoint is not the bucket's actual regionset the endpoint to https://s3.<region>.amazonaws.com for the bucket's own region, and use the same region in the region field
AWS S3InvalidAccessKeyId / SignatureDoesNotMatch although the key looks rightaccount and bucket are in different partitions (the global aws and China aws-cn are separate)make sure the bucket and the account are in the same partition: a China-region bucket needs a key from a China account
AWS S3403 AccessDenied even though the policy existsa bucket name is misspelled in one of the two ARNs, or the bucket ARN has a trailing slash (bucket level is arn:aws:s3:::bucket, object level is …/bucket/*)copy the policy from the AWS S3 guide: no slash at bucket level, /* at object level

Codes that are not listed here: check the provider's own error-code documentation, or report it from inside the Guyun app.