Correct an S3 endpoint or region mismatch
Correct the Dosya S3 base path, path-style mode, workspace bucket, and signing inputs; use us-east-1 as the published, tested client default.
Last reviewed
Dosya’s S3 gateway lives below the API host. The released client setup uses endpoint https://api.dosya.dev/s3, published region value us-east-1, path-style addressing, and a bucket name equal to the workspace ID such as wks_…. The region fills a required client field; the gateway does not enforce one fixed signing region.

Before you start
Use an S3 credential whose parent API key allows the S3 gateway. The user must still belong to the bucket workspace, and their role needs S3 access; listing objects additionally needs file access.
The signer region is protocol configuration, not the physical storage location of uploaded bytes. Dosya stores new objects in the workspace’s configured region. Its client instructions and compatibility response publish us-east-1, while signature verification derives the signing key from the region and service written in each request’s credential scope.
Steps
- Open the client profile without exposing its secret, and compare the endpoint character for character with
https://api.dosya.dev/s3. - Use
us-east-1for the published and production-tested client setup. Another region is not a mismatch by itself when the client uses that same value consistently in its credential scope and signing key. - Enable path-style addressing so the request shape is
/s3/{workspace-id}/{key}rather than a workspace subdomain. - Set the bucket to the exact workspace ID returned by Dosya, not its display name, slug, or a folder name.
- Retest with a narrow root listing or
HEADrequest. For SignatureDoesNotMatch, inspect the secret, canonical path, query, signed headers, body hash, date, region, and service together; changing only the region does not repair a different signing fault. - If the request succeeds, list one permitted test prefix and verify the returned key names before restoring the client’s normal workload.

Expected result
The client signs the actual /s3 request path and reaches the intended workspace bucket. A valid list returns only workspaces and objects permitted by the API key, membership role, and optional folder anchor.
InvalidAccessKeyId points to an unknown or revoked S3 access ID. SignatureDoesNotMatch means the client and gateway calculated different canonical requests or signing keys; it does not prove that a non-us-east-1 region caused the failure. NoSuchBucket means the workspace ID is wrong or unavailable to this user.
Related guides
Was this helpful?
Loading helpfulness results…
Voting saves a necessary ballot cookie for up to 180 days so you can change your answer.
Questions and replies
Ask about the steps in this guide. Questions are reviewed before publication.
Keep account details, credentials and private files out of public questions. Use private support for those.
Loading questions…
Sign in to your Dosya account to ask a question.