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.

Look up the error code in this page to find the matching row.

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 objects, get objects)add permission to write and delete objects
AnyWill not connect, or times out, with no error codethe endpoint or the place is wrongcheck the place and the endpoint in the app; make sure the endpoint has no bucket name and no 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 usedenter your domain with a completed ICP filing in the app's HTTPS endpoint (route 1; binding notes are under “Other cases” at the end of that page), 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 make sure that domain is entered in the app's HTTPS endpoint (the app will access it as your own domain)
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 regionin the app, change the place to where the bucket actually lives — the endpoint updates with it
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
Backblaze B2InvalidAccessKeyId / SignatureDoesNotMatch although the key is righta character is missing from the keyID — B2 key IDs are exactly 25 characterscopy the keyID again with the console's copy button rather than retyping it, or generate a fresh application key
Backblaze B2403 AccessDenied while the master key is in useB2's S3-compatible API does not accept the master application keyswitch to an Application Key limited to the single bucket (step 3 of the guide)

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