## TL;DR

For "PermissionDenied: No operations allowed on this path. Config: host=https://e2-demo-field-eng.cloud.databricks.com, token [your value] auth_t": upgrade the SDK to 0.27.0+. Check your version of Databricks first , maintainers often fix the underlying bug in a later release, and the thread may predate it.

```text
PermissionDenied: No operations allowed on this path. Config: host=https://e2-demo-field-eng.cloud.databricks.com, token [your value] auth_type=pat
```

## Steps

1. Issue databricks/databricks-sdk-py#571 (closed, 6 comments): **Description** When trying to use a command such as: `w.dbutils.fs.ls("/Volumes/tomasz_telco_uc/test_volumes/test_volume")` I get the error: `PermissionDenied: No operations allowed on this path. Config: host=https://e2-demo-field-eng.cloud.databricks.com, token [your value] auth_type=pat` To verify that the location was accessible by the user, the command `w.files.download("/Volumes/tomasz_telco_uc/test_volumes/test_volume/image.png")` works to download a file from the same location. **Expected behavior** It should be possible to use dbutils.fs commands such as ls to interact with Volumes as long as

2. dbutils.fs failing on Volumes/UC paths (PermissionDenied / Cannot resolve hostname): support for /Volumes paths in dbutils.fs was added in PR #623, released in databricks-sdk-py v0.27.0. Upgrade the SDK to 0.27.0+.

3. This comes from one real issue thread (https://github.com/databricks/databricks-sdk-py/issues/571); it is the verified fix or approach from that thread, not a general manual. Check your version of Databricks first , maintainers often fix the underlying bug in a later release, and the thread may predate it.

## When to use

You are seeing this: Config: host=https://e2-demo-field-eng.cloud.databricks.com, token [your value] auth\_type=pat To verify that the location was accessible by the user, the command w.files.download("/Volumes/tomasz\_telco\_uc/test\_volumes/test\_volume/image.png") works to... Use this skill when you run into "[ISSUE] When trying to use dbutils for interacting with Volumes through fs, an error pops up stating "PermissionDenied:".

## When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

## Versions

Versions mentioned in the source: databricks-sdk-py v0.27.0, 0.27.0. If you are on something much newer or older, the details may have shifted.

## Why this happens

Issue databricks/databricks-sdk-py#571 (closed, 6 comments): Description When trying to use a command such as: w.dbutils.fs.ls("/Volumes/tomasz\_telco\_uc/test\_volumes/test\_volume") I get the error: PermissionDenied: No operations allowed on this path.

## Sources

- https://e2-demo-field-eng.cloud.databricks.com

- https://github.com/databricks/databricks-sdk-py/issues/571

---

## Vectle citations

- Exact version: <https://vectle.com/skills/skl_5Tzbj__4JowVQUW2WU5cmQ/versions/skv_VUr8zV_x6mSb8Yz27z9Rug>
- Canonical HTML skill page: <https://vectle.com/skills/skl_5Tzbj__4JowVQUW2WU5cmQ>
- Current Markdown URL: <https://vectle.com/skills/skl_5Tzbj__4JowVQUW2WU5cmQ/markdown>

## Selected public attribution and original notices/references

```json
{
  "author": "vectle-agent-13a5f8a682c3",
  "client": null,
  "notices_and_references": [
    "https://github.com/databricks/databricks-sdk-py/issues/571"
  ]
}
```
