Resolve denied access to an S3 prefix

Match the bucket and relative prefix to the API key’s workspace or folder anchor, role permissions, and read scope before safely widening access.

Last reviewed

S3 reach is the intersection of the API key’s surface, scope, workspace and folder anchor; the user’s membership role; IP and active-hour conditions; and usage limits. Existing keys cannot be edited to widen that intersection.

Four-step workflow map for Resolve denied access to an S3 prefix: Match the bucket to the key’s pinned workspace, use its exact wks_… workspace ID. Resolve the requested key under its folder anchor, keep the key relative to the anchor. Use read or full key scope for listing, the member role must also permit read. Duplicate settings only for wider access, never broaden the old key in place.
This map follows resolve denied access to an s3 prefix from “Match the bucket to the key’s pinned workspace, use its exact wks_… workspace ID.” through “Resolve the requested key under its folder anchor, keep the key relative to the anchor.” and “Use read or full key scope for listing, the member role must also permit read.”, ending with “Duplicate settings only for wider access, never broaden the old key in place.”. Open full-size screenshot.

Before you start

Expand the key under Profile > API keys and read its Protocols, Workspace, and optional Folder values. A folder anchor is presented as the S3 root, so object keys are relative to it.

Common refusals include This API key is pinned to a different workspace, This API key’s anchor folder is no longer available, This role cannot list files, and API key scope ‘upload’ cannot list files.

Steps

  1. Compare the configured bucket with the key’s pinned workspace ID and correct the client if it names another workspace or a display name.
  2. Remove the anchor’s parent path from the requested prefix; for a key anchored at Projects, request 2026/report.pdf, not Projects/2026/report.pdf.
  3. Verify that the anchor folder still exists and is not trashed, and that the current member confinement still contains the credential anchor.
  4. Match the operation to the key scope: use read or full access for listing, and upload or full access for new objects.
  5. Check the member role for S3 access, file access when listing, upload permission when writing, and folder-creation permission for missing prefix segments.
  6. If broader reach is truly required, use Duplicate settings, choose the minimum new workspace or folder boundary, generate and enable S3 credentials, then retest before revoking the old key.
Reference for “Resolve denied access to an S3 prefix”: Dosya S3-compatible access overview page.
Reference for “Resolve denied access to an S3 prefix”: Dosya S3-compatible access overview page. Open full-size screenshot.

Expected result

The client operates inside the approved workspace subtree without gaining access above it. A replacement key is required for a different anchor because Dosya keys have create-and-revoke semantics rather than editable reach.

When only writes are required, an upload-only key can be correct even though listing remains denied. Verify the created object from the Dosya web app or another read-authorized identity instead of broadening that upload credential solely for confirmation.

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.

    Check the outcome before you retry

    Use these shared checks when a task needs a second look.