# OneDrive wizard fails to fetch /me/drives for some accounts

**URL:** <https://forum.rclone.org/t/onedrive-wizard-fails-to-fetch-me-drives-for-some-accounts/54170>\
**Category:** Suspected Bug\
**Created:** [August 22, 2026, 6:17pm UTC](https://forum.rclone.org/t/onedrive-wizard-fails-to-fetch-me-drives-for-some-accounts/54170 "2026-08-22T18:17:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![filippo](https://forum.rclone.org/user_avatar/forum.rclone.org/filippo/32/21730_2.png) [@filippo](https://forum.rclone.org/u/filippo)\
**Post date:** [August 22, 2026, 6:17pm UTC](https://forum.rclone.org/t/onedrive-wizard-fails-to-fetch-me-drives-for-some-accounts/54170/1 "2026-08-22T18:17:31Z")

</div>

#### What is the problem you are having with rclone?

For some reason, on the consumer OneDrive account I am using, `https://graph.microsoft.com/v1.0/me/drives` always returns

```auto
{
    "error": {
        "code": "accessDenied",
        "message": "Database Is Read Only",
        "innerError": {
            "code": "serviceReadOnly",
            "date": "2026-08-22T17:34:11",
            "request-id": "39ef8442-b664-48ad-af65-8ef9a7816c56",
            "client-request-id": "dcaf5d52-4202-0157-aa09-8f0e3ac347f3"
        }
    }
}

```

while `https://graph.microsoft.com/v1.0/me/drive` works. I tested this in Graph Explorer.

This is only a problem in the config wizard. Once I had the Drive ID from the `/me/drive` endpoint and I had configured it manually, everything worked.

The wizard already queries `/me/drive` to work around missing drives from the enumeration endpoint. It should probably just tolerate an error from `/me/drives` if `/me/drive` works.

#### Run the command 'rclone version' and share the full output of the command.

```auto
rclone v1.74.4-DEV
- os/version: alpine 3.24.0 (64 bit)
- os/kernel: 6.18.39-0-lts (aarch64)
- os/type: linux
- os/arch: arm64 (ARMv8 compatible)
- go/version: go1.26.5
- go/linking: dynamic
- go/tags: none

```

#### Which cloud storage system are you using? (eg Google Drive)

OneDrive

#### The command you were trying to run (eg `rclone copy /tmp remote:tmp`)

```auto
rclone config

```

#### The rclone config contents with secrets removed.

_After_ doing the manual config, it's

```auto
[redacted]
type = onedrive
token = redacted
client_id = redacted
client_secret = redacted
drive_id = redacted
drive_type = personal

```

#### A log from the command with the `-vv` flag

Apologies, I only kept the error, but it's very clear from where in the codebase it comes from.

```auto
Failed to query available drives: HTTP error 403 (403 Forbidden) returned body: "{\"error\":{\"code\":\"accessDenied\",\"message\":\"Database Is Read Only\",\"innerError\":{\"code\":\"serviceReadOnly\",\"date\":\"2026-08-22T16:58:24\",\"request-id\":\"a8a046de-0659-49bb-9cd9-c5194aba792b\",\"client-request-id\":\"a8a046de-0659-49bb-9cd9-c5194aba792b\"}}}"

```

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [August 22, 2026, 6:31pm UTC](https://forum.rclone.org/t/onedrive-wizard-fails-to-fetch-me-drives-for-some-accounts/54170/2 "2026-08-22T18:31:44Z")

</div>

welcome to the forum,

> [@filippo](#):
>
> `403 Forbidden`

have you seen [OneDrive config 403 Forbidden](https://forum.rclone.org/t/onedrive-config-403-forbidden/54161)

---

<div class="post-metadata">

**Author:** ![filippo](https://forum.rclone.org/user_avatar/forum.rclone.org/filippo/32/21730_2.png) [@filippo](https://forum.rclone.org/u/filippo)\
**Post date:** [August 22, 2026, 6:49pm UTC](https://forum.rclone.org/t/onedrive-wizard-fails-to-fetch-me-drives-for-some-accounts/54170/3 "2026-08-22T18:49:22Z")

</div>

I had searched but didn't catch it, thank you.

[onedrive: fix 403 Forbidden for configuration personal onedrive by machsix · Pull Request #9800 · rclone/rclone · GitHub](https://github.com/rclone/rclone/pull/9800) is the same fix I'm suggesting.

---

<div class="post-metadata">

**Author:** ![ncw](https://forum.rclone.org/user_avatar/forum.rclone.org/ncw/32/18_2.png) [@ncw](https://forum.rclone.org/u/ncw)\
**Post date:** [August 24, 2026, 4:53pm UTC](https://forum.rclone.org/t/onedrive-wizard-fails-to-fetch-me-drives-for-some-accounts/54170/4 "2026-08-24T16:53:26Z")

</div>

Looks like Microsoft has changed something since this code worked since 2020 or so!

That PR is nearly ready to merge and I'll get it into v1.75.1 🙂

---

<div class="post-metadata">

**Author:** ![ncw](https://forum.rclone.org/user_avatar/forum.rclone.org/ncw/32/18_2.png) [@ncw](https://forum.rclone.org/u/ncw)\
**Post date:** [August 25, 2026, 8:34am UTC](https://forum.rclone.org/t/onedrive-wizard-fails-to-fetch-me-drives-for-some-accounts/54170/5 "2026-08-25T08:34:25Z")

</div>

I've merged the fix for this to master now which means it will be in [the latest beta](https://beta.rclone.org/) in 15-30 minutes and released in v1.75.1

---

<div class="post-metadata">

**Author:** ![thedaveCA](https://forum.rclone.org/letter_avatar_proxy/v4/letter/t/c67d28/32.png) [@thedaveCA](https://forum.rclone.org/u/thedaveCA)\
**Post date:** [August 26, 2026, 3:06pm UTC](https://forum.rclone.org/t/onedrive-wizard-fails-to-fetch-me-drives-for-some-accounts/54170/6 "2026-08-26T15:06:07Z")

</div>

Confirmed fixed here, thanks for the quick response!

rclone v1.75.0 - Unable to obtain a drive ID.

rclone v1.76.0-beta.10204.660144d31 - Able to obtain a drive ID, and `lsd` successfully.

rclone v1.75.0 - Able to access OneDrive via the config file written by v1.76.0.

---

<div class="post-metadata">

**Author:** ![system](https://forum.rclone.org/uploads/default/original/2X/3/39ad3235f6ffec76ccd0c81616bd55697b4c300d.png) [@system](https://forum.rclone.org/u/system)\
**Post date:** [August 29, 2026, 3:06pm UTC](https://forum.rclone.org/t/onedrive-wizard-fails-to-fetch-me-drives-for-some-accounts/54170/7 "2026-08-29T15:06:16Z")

</div>

Closed on August 29, 2026, 3:06pm UTC

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
