Test an n8n Dosya credential
Create and test a full-access, unanchored Dosya API credential in n8n, distinguish scope failures, and confirm the key owner and workspace reach.
Last reviewed
The n8n credential stores one secret field named API Key and sends it as a Bearer token to https://api.dosya.dev. Its test calls GET /api/me; a successful HTTP response can still fail the rule when the key is read-only.

Steps
- In Dosya, open Profile → API keys and choose New API key. Give the key a label that names this n8n instance.
- Choose Full access, enable REST/API use, and leave the folder anchor empty. Pin one workspace when the workflow should not reach the key owner’s other memberships.
- Generate the key and copy the complete secret once. Do not enter your Dosya password in n8n.
- In n8n Credentials, create dosya.dev API, paste the secret into API Key, and run Test connection.
- Treat This key is read-only. Uploads, folders and share links need a key with Full access scope. as a failed credential for this package even though
/api/mewas readable. - Add a Dosya node, select the credential, and open a Workspace list. Confirm the expected workspace appears before saving the production workflow.
An Upload-only key cannot pass the authenticated /api/me test. A folder-anchored key is unsuitable for this REST node and returns a 403 explanation directing you to create an unanchored key. Revocation or expiry invalidates later requests even if n8n still stores the credential.

Expected result
n8n accepts the credential, the Dosya node can load the intended workspace, and write operations remain bounded by the key’s workspace pin plus the member’s permissions. The secret stays masked in the credential UI.
dosya.dev did not accept the API key means the value is mistyped, expired or revoked. A scope sentence requires a newly generated Full access key; changing only the n8n credential name does not change authority.
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.