Rclone onedrive token expired Rclone is an open source file transfer tool to make transfering files to and from various cloud resources such as Box, Amazon S3, Microsoft OneDrive, and Google Cloud Storage and your local machine a simpler task. What is the problem you are having with rclone? the supported hash types by chunker, according to the docs, are MD5 an SHA1. 52. I followed the documentation Microsoft OneDrive as well as this thread Onedrive - Can't authenticate with own cliend id - #4 by Cilix on the forum What is your Hi Nick, Thx for your reply! Actually the file exist in both sync (as previous sync successful), anyway i've tried the command as advised (rclone. Filestructur ist in example. When I try to upload, the directory structure is created on the remote, but no files are uploaded. When syncing with the remote I get the AADSTS50076 error, which indicates my refresh token has expired, as described in the rclone oneDrive documentation I have a 150gb file im trying to upload to one drive with rclone sync. Why does it say "OneDrive token expried, but no uploads in progress, doing nothing" but then it proceeds to do it anywya by saying the "token" in another config and then starts uploading? I am just wondering what an earth it is actually doing haha. What I meant was even though if I manually authorize via rclone authorize "onedrive", it never saves the refresh_token. TangoBravoMike August 27, 2023, 4:56pm 22. system (system) as per the docs, the default value is 10M, if you want a larger value, then it has to be a multiple of 320k or 327,680 bytes 34 X 327,680 = 11,141,120 I did not know about the expiry and I uninstalled both my rclone Google Drive and Onedrive only to find this post but with no update on the Wiki, why I am asking reb0rn June 29, 2021, 6:08pm Finally the VPS support said something like: Maybe the “The auth token URL address has probably expired. that is ok, expected output. Token Run the command 'rclone version' and share the full output of the I figured out what was my mistake: [OneDrive] type = onedrive client_id := Application (client) ID client_secret := Client secret's Value. Running rclone v1. 2 os/arch: windows/amd64 go version: go1. I realized I'd better off have that remote point to a directory in OneDrive, not the root, so I can use RClone only with that directory and block OneDrive from trying to sync it. 56 Which OS you are using and how many bits (eg Windows 7, 64 bit) Ubuntu 18. Trying to delete this post but cannot delete it. Please run 'rclone config redacted' and share the full output. rclone v1. The respnse is Failed to query available drives: Get What is the problem you are having with rclone? 1 > Onedrive remote> 1 Editing existing "Onedrive" remote with options: - type: onedrive - hi, onedrive is well known for api throttling. I have tried generating one in the app itself but that token doesn't seem to work even with no expiry, when I paste it in. 22631. including the output of rclone version and the redacted config Ah, so this paragraph in particular A Google Cloud Platform project with an OAuth consent screen configured for an external user type and a publishing status of "Testing" is issued a refresh token expiring in 7 days. " 2022/04/28 17:39:30 DEBUG : One drive root '': Token expired but no start cmd. This worked flawlessly in the past. org What is the problem you are having with rclone? On Thursday rclone was outputting a direct download link like this https://api. I followed the o That's good advice. Use rclone config file on each to show where the file belongs. 11. Update an existing remote's options. log I am running 11. What is the problem you are having with rclone? It's my first time doing this. doc". Try rclone config choose edit, select the remote, skip until you get to token refresh, then choose to refresh token, save and it should work. type = onedrive drive_type = personal expose_onenote_files = false token = REDACTED drive_id = . It's just that there are so many mentions of the words "secret" and "ID" in the Microsoft Azure interface and in the help for working with rclone that it's no wonder to make a mistake somewhere. I know how to do it with personal onedrive. Is there any way I can renew the token before it aborts the upload? I can see all the 2gb chunks in the onedrive folder, the upload had almost finished the first time. then I - rclone config redacted OneDrive: [OneDrive] type = onedrive token = XXX drive_id = XXX drive_type = personal client_id = XXX client_secret = XXX region = q. However, the token expires after only one hour. 5. 0-023-g240c1588-beta and, with this new version Jotta mount stopped working if I try now to mount Jotta, it generates the fol After testing the above instructions, I solved the problem later, the reason for the problem may be that I logged into more than one OneDrive account in the same browser, which led to the confusion of the token, I deleted the cookie and logged in again, and then I can use it normally, thank you for your help. 39 rclone config update. When I set about obtaining new credentials, I can't remember exactly what I did, but it failed. The responses come much quicker than the ordinary rclone has been working for months connected to OneDrive. I'm trying to figure out if I can re-point that remote to another directory in Other Windows and MacOS computers on the same network successfully use rclone to copy files to the same OneDrive directory, with the same credentials. txt 2022/02/23 13:46:09 DEBUG : Saving config "token" in section "One Drive" of the config file 2022/02/23 17:46:04 DEBUG : Saving config "token" in section "One Drive" of the config file 2022/02/23 18:53:02 DEBUG : Saving config "token" in section "One Drive" of the What is the problem you are having with rclone? Token was expired every hour What is your rclone version (output from rclone version) rclone v1. 1-DEV - os/version: ubuntu 23. What is the problem you are having with rclone? rclone works for OneDrive initially, but after about an hour of inactivity stops working with the following error: Failed to create file system for "OneDrive:": failed to get root: InvalidAuthenticationToken: IDX14100: JWT is not well formed, there are no dots (. What is the problem you are having with rclone? I am trying to upload very large files (streamed tarballs) without hitting local SSD, One of the tarball is ~70GB, if that's too large then I'll find other solutions. Windows uses \ instead of the / used by most other OSs, and I think it is confusing Bisync. Even I refresh it but now ttoken still expires after 1 hour. Token expired - 8 uploads in progress - refreshing Issue 1: rclone uploads ~partial files (which are not ready yet) and I want rclo ne mount to "ignore" these files and NOT uploading them to the cloud Issue 2: I want rclone to ignore whole directories to NOT upload to it's mount. 7 Remote Connection to: OneDrive When I tried to res My kindly guess is that access_token do not retrieve needed scopes for some reason, but I have no clue how to check it (https://jwt. are you using onedrive personal or onedrive business? personal is known for very heavy rate limiting, more so than business. But what about subsequent runs of rclone? I guess the refresh token will expire at some point if I don't use rclone for a while. For example, OneDrive tokens appear to have a one-hour expiration. avi Movies\\B\\BBBmovie. Supposedly rclone is capable of renewing the token as I’m on stable rclone 1. I've also tried to remove and add the remote and indeed it is the latest rclone which can run on Mojave (10. I had to make a new App pwd for onedrive due to my old one expired. Categories: So, your config (where you also should have redacted the refresh token but oh well) shows the remote name is onedrive: and not "one drive":. In case of these two kinds of errors, the transmission fails. /script/generate-conf. os/version: Microsoft Windows 8. I mean, GDrive token expires after 200 days without use. 14. This morning I started getting an "Input/output error" Version: rclone. So I guess rclone doesn't cope well with really old tokens. However, you can try creating a token lifetime policy to customize the lifetime of your access What is the problem you are having with rclone? When I try to run: clone bisync "OneDrive Business": ~/OneDrive\\ Business --verbose --resync I get Failed to create file system for "OneDrive Business:": failed to configure OneDrive: json: cannot unmarshal string into Go value of type oauth2. What is the problem you are having with rclone? I use to copy backup files from a Debian system to OneDrive. 15). Only copy access_token, do not copy copy token_type or any other tags. Folders may be obscured, tokens should be obscured. Which step should it go it? What is the problem you are having with rclone? """ My Google Gdrive Mounted cannot be accesssed after one hour. Double checked now. What is the problem you are having with rclone? I want merge some 5 TB Onedrive to One Drive Exampe so i have 15TB. Synopsis. Log shows ERROR : IO error: unauthenticated: Unauthenticated Main OneDrive account fails, but it works on another OneDrive account. yes Which cloud storage system are you using? (eg Google Drive) onedrive. 2 os/version: debian 11. Next step would be to log in as admin and authorize the use of this app (rclone) for the user that requested it (you). 60. conf file. The tokens live for 1 hour - that is pretty standard but after an hour it should use the refresh_token to get a new one. txt and in remote2 the files are named as folder | |file . Pass it the file name to use. 04. 0-rc2 Which cloud storage system are you using? couldn't Using Rclone for File Transfer. Update options in an existing remote. 2 Which cloud storage system onedrive via rclone is slower than onedrive via web and both are much slower than wasabi for the time period, 6m:47s --- onedrive via web uploaded the entire 10GiB --- onedrive via rclone uploaded just 4. even if rclone is in the middle of running a command. What is the problem you are having with rclone? the --multi-thread-streams=N option doesn't seem to work when copying files from local storage to OneDrive remote Run the command 'rclone version' and share the full output of the command. If you want an easy way out, get a GUI tool like experience and use OneDrive natively in Linux with Insync. I went to refresh the token again and noticed my expiry date/time was always one What is your current rclone version (output from rclone version)? 1. I have setup 5 remote drives (all Onedrive) and wanting to union all of them and then mount them on my laptop to use as if it's a drive. What is the problem you are having with rclone? I have set up rclone to connect to a Dropbox account on a headless Linux system earlier today. 4 Which OS you are using and how many bits (eg Windows 7, 64 bit) WIN 10 64bit Which cloud storage system are you using? (eg Google Drive) onedrive What is the problem you are having with rclone? OneDrive Auth link not working with web browser on same machine. If it was something non expiring ever, a service account is the way to go. 0+ (64 bit) os/kernel: 5. 0 - os/arch: linux/amd64 - go version: go1. 66. For example, if they've federated authentication then the company may require I have copied my config from a standard user on Linux, to the root user also, and I also use the same config on two Windows desktops. Click the links to authenticate with our client apps and grant them the necessary permissions. If you get [onedrive] type = onedrive token = XXX drive_id = XXX drive_type = personal [onedrive2] type = onedrive token = XXX drive_id = XXX drive_type = personal. The command you were trying to run (eg rclone copy /tmp remote:tmp) rclone authorize "drive" "ey -- REDEACTED -- n0" The rclone config contents with secrets removed. Could you please tell me how can we get Onedrive DEBUG : OneDrive root 'bat': Token expired but no uploads in progress - doing nothing. rclone complains as following: user@host ~$ rclone -vP sync ~/folder BOXREMOTE:folder Failed to create file system for "BOXREMOTE:folder": failed to make What is the problem you are having with rclone? This is a GUESS! I am not sure how to recreate it I keep adding a remote, syncing my config file, only to have the new remotes disappear later. I'm also using the same OAuth Credentials in more than one config setup in the rclone config. connecting to different routers on the same network). 2. 15. I tried to edit my onedrive remote using the new app pwd, it did not work. " What is the problem you are having with rclone? I can't upload my files to OneDrive - says I'm Unauthenticated. I guess the cause of my problem is limited upload speed. 2024, 12:28am 2. log file. Running rclone config allows me to get a new token. A Im sorry for answering so late. 50. exe copy D:\Scripts\Test OneDrive-Family01-Encrypted:Test -vv) (i've removed testfolder at the end of command as with it the command failed), and it works without copying (as nothing needs to be copied): I have a 150gb file im trying to upload to one drive with rclone sync. conf [Gugu drai] <-- Take note of this remote name type At the very least, rclone remotes for Onedrive personal do refresh tokens automatically. First issue is that, I have an rclone union mount which with four Sharepoint crypt upstreams. Do I need to remove the one drive config and launch clone config again ? or is there another way ? thank you Response: {“error”:“invalid_grant”,“error_description”:“The user could not be authenticated or the grant is expired. Updating rclone to newest version, however, fixed everything and it started working after I deleted and reconfigured the remote. because the token expired. 61. 8 Can you share the rclone. 67. My conf files are: [remote] type = onedrive token = {“access_token”:“XXX”,“token_type”:“Bearer”,“refresh_token”:XXX"",“expiry”:“XXX”} so it did Worth the effort? As you can see, using OneDrive in Linux with rclone takes some effort. yes Which cloud storage And here's my rclone drive onedrive config (which works on its own, as stated above): [onedrive] type = onedrive token = {"access_token":"XXX"} drive_id = XXX drive_type = personal Rclone version: 1. When i choose "1" for "onedrive" the creation fails because the client got an unexpected response. My best Admins can limit the access of apps to the data in the M365 cloud, including access to OneDrive stuff. I have searched and explored for hours and got no results. My What is the problem you are having with rclone? I am syncing about 10TB ( need about 15 days) data from an onedrive account to another. SIGINT: To prevent accidents, rclone could capture the first Ctrl+C and prompt the user to confirm. A solution I came up with was to just use the OneDrive What is the problem you are having with rclone? -->When I transfer more than 25g of original movies to onedrive. avi When rclone mount dkod: onedrive. That's only for using your own API quota rather than using rclone's shared client ID/secret. a few hours later i had two 180GB directories filled with duplicate folders, and rclone had errored out after it had uploaded the I managed to reproduce this just now (on Windows only), and I think the problem is the trailing slash at the end of "U:\Documents\OneDrive1\". rclone config reconnect name_of_your_remote: rclone config show name_of_your_remote: rclone lsd name_of_your_remote: -vv # Wait in minimum 1 hour rclone lsd name_of_your_remote: -vv and then please post the redacted terminal output. 1 on both debian Pi and OSX laptop. I can repeat 100%. I wanted to refresh the token but now the token expires after 1 hour. It's a closed-source, paid tool but saves you the trouble (and joy) of configuring things can it be that amazon stops something? my token has expired but I can still mount the acd in linux! however do not perform read or write operations. x86_64 / 1. The token literally expired during the job, about 3-4 minutes after starting it. 7, 2021, 11:37pm 1. Node 1 rclone v1. I recently updated to rclone 1. The relevant config is below. I wonder how to revoke rclone access to my onedrive 365 for business. A Basically, I want to automate adding onedrive configs to rclone as I have about a 100 sharepoint document libraries and new ones being added dynamically. Two issues on hand I think but it could be related to the token expired error I guess. i was pretty certain the directory hadn't changed, but i was like. I had to change "app_secret" to 'app_secret' so the shell passes it as is. Leave blank normally. This has been configured for your domain. Google moves in mysterious ways that we mortals My OneDrive (business) connection used to work just fine, but token expired, tried to create a new one and same problem as the OP. welcome to the forum, daniel_angelo: I assume the token has expired. the business version of Onedrive uses Quickxor hashes, and the consumer version of Onedrive recently switched from SHA1 to Quickxor as well. This will be a very long string. So rclone either needs to get a new authorization token when it gets an 401 expired_auth_token error, or it needs to fetch one at regular intervals. doc" and one called "hello. Onedrive1: Movies\\A\\AMovie. avi Onedrive3: Movies\\A\\AAAMovie. I'm using rclone crypt remote (had an issue with Onedrive ransomware protection but it does not look like it's linked to this issue). When I sync it for the second time (no data copy occurs), the token is expired after about one hour. Paste config here [dkod] type = onedrive vfs-cache-mode = writes token = xxxx <7>DEBUG : OneDrive root '': Token expired but no uploads in progress - doing nothing <7>DEBUG : Saving config "token" If you don't do this step, it will automatically extract all your remotes (Yes including combine, shared drive which may cause the job to fail). Authorizing succeeds and I get a code which I should paste into the rclone terminal of my headless machine. I am on a fttn connection only have 2mps upload due to line quality. 45-069-g7ee7bc87-beta to v1. exe sync D:\Backup_Duplicati OneDrive:Backup_PC --progress Please run 'rclone config redacted' and share the full output. 0-1004-raspi (aarch64) - os/type: linux When I use "Microsoft OneDrive" in the select section of step1-Set up Remote Config, and click "next", there are 3 items in the step2-Set up Drive: OAuth Client Id. If I have a long-running mount on a remote like OneDrive where the token gets updated Generate the required rclone config with . Now business setups may be different, and can depend on the company. ; need to see a debug log to know exactly what is going on. 13. If I try to What do you think should be done if rclone is not using the remote for more than 90 days? I think it should be a document modification. Didn’t know this is an existing issue. sh. But I can upload from it. Now say I would like to use the same remotes from a different machine: Can I simply copy the rclone-configuration (containing the access-tokens) to the new machine or do I need to generate new ones on the new machine? And as a normal password you can reuse it as What is the problem you are having with rclone? I use 2 OneDrive remotes mounted in Windows and both of them face the same problem: when renaming files or creating folders, after hitting ENTER or clicking outside in Windows Explorer, the file is renamed. I know my Internet connection has a one gigabit uplink, thus it should be able to transfer in around 125MB/s, however when I try to download a file from OneDrive, I only get around 5-10 MB/s, which is not normal What is the problem you are having with rclone? It's showing me token expired. OneDrive. conf file, and copy the access_token for your remote. i upgraded to rclone 1. [OneDrive] type = onedrive chunk_size = 200M token = drive_type = business client_id = client_secret = [OneDrive2] type = onedrive chunk_size = 200M token = drive_type = business client_id = client_secret = A log from the command with the -vv flag Here is an exceprt from the log $ grep -P "Saving config|ERROR" Rclone\ Sync\ Expired\ Token. Run the For instance on my box I use rclone with dropbox, gdrive and onedrive, all have access-tokens configured. 7 Which OS you are using and how many bits (eg Windows 7, 64 bit) Android 9 Which cloud storage system are you using? (eg Google Drive) Google Drive The command Thanks. 2 Which cloud storage system are you using? (eg Google Drive) -->onedrive The command you were trying to run (eg rclone What is the problem you are having with rclone? My account was locked, it said " Your account has been locked. I was running it at a command prompt so I watched it happen. 3. rclone. The offline_access scope will only return a refresh token for you without extending the expiration time of your access token, and your access token will still expire after the default of 1 hour, even if you acquire a new access token with a refresh token. Ex of rclone. Is there any way I can renew the token before it aborts the upload? I have a Microsoft Onedrive account and had setup rclone to sync from it and this worked well about a year or so ago. Have you got a refresh_token in your token? Some ideas: If OneDrive token expires, either: if in an interactive shell prompt for re-auth; otherwise end the transfer; rclone should handle INT and TERM signals more gracefully . It's valid from '2/20/2022 12:26:23 PM' and to '2/21/2022 12:26:23 PM'. I get the same issue when I move to different parts of the building (i. 2 rclone is utility that can be configured to work with many online file storage systems including Dropbox, Microsoft OneDrive or Google Drive (see the full list here). The token expired after 1 week as before. So how to create an auto-refresh access token for dropbox and google drive? Animosity022 November 8, 2021, 12:22pm 2. The access token has expired. i believe that means Chunker cannot hash files to verify transfer now. 18362. 239 (x86_64) - os/type: windows - What is the problem you are having with rclone? Mounted onedrive fails to reconnect Run the command 'rclone version' and share the full output of the command. New replies are no longer allowed. Run the Thanks for quick reply. 54. What is the problem you are having with rclone? Not a problem, just a question. the configuration of the token fails. 19. I have more than enough free space. txt onedrive: Please run 'rclone config redacted' and share the full output. The associated forum post URL from https://forum. 0 os/arch: android/arm64 go version: go1. . Should every machine and every config setup in the rclone config file really hav What is the problem you are having with rclone? The creation of a new OneDrive remote works till i get to the option to choose the type. complaining about expired credentials. maybe token expired? - try refreshing with "rclone config reconnect GoogleDrive:" Based on the analysis I guess that OneDrive returns the "401/Unable to initialize RPS" when A) somebody makes a lot of almost simultaneous requests and B) that somebody have made many requests within the past minutes/hours and C) some part of the OneDrive infrastructure is near the upper limit. but the code is not token but a long strange strings. and in the debug log, we see that rclone was able to get a new token DEBUG : MSFT_TEST_230826: Saved new token in config file. Again, just sharing this in case documentation needs to Hi, I'd like to understand how rclone will work with onedrive. 0. Run the command 'rclone version' and share the full output of the command. Initial configuration generates an authentication token in the below form which rclone will use every time to login or mount drive without credentials. I know that token when valid is extended just connecting to the remote. os/arch: linux/amd64; go version: go1. 57. Would anyone be able to help? Thanks in advance. c What is the problem you are having with rclone? I've already setup rclone and got it working so I can transfer files from my server to my Google Drive paid account. asdffdsa (jojothehumanmonkey) September 13, 2024, 2:35pm 2. If I try to reconnect with che command 'rclone config reconnect' I receive this error: 2024 What is the problem you are having with rclone? I had a remote connect with Onedrive that worked fine before token as expired. I guess you are using a mac? What is the problem you are having with rclone? With OneDrive, Unable to read a file from the mounted drive. [OneDrive] type = onedrive token = XXX drive_id = XXX drive_type = personal Hi, I have recently updated rclone versoin (ARM beta) from v1. Test this new entry is working. 62. need to be using latest stable v1. exe /k C:\rclone\rclone. [onedrive_fail] You don't need your own client ID/secret to use rclone. Newer rclone versions require golang not running any more on older systems. The token is expiring before the upload completes. 0 What problem are you are trying to solve? My token expired because I hadn't used rclone in months. I created a Test directory and copied in a shared folder into that directory. Used to work perfectly. ; You can use rclone on Hydra with module load tools/rclone When authorizing rclone access to your Dropbox, OneDrive or GoogleDrive you can use the rclone AppID created by the program Now every few hours I have to go back in and redo the whole process and create a new token. I've tried --exclude and couldn't get it to work as expect (or at all) rclone mount does not respect Probably the best thing is to copy the config file. From what I have researched, it appears to be that it is Microsoft that has set the maximum validity period for their OneDrive token to be 24 hours. ; SIGTERM: Possibly My existing gdrive mount has stopped working after 6months because the access token expired. When I sync it for the second time What I would expect from rclone is printing a message about the expired token to the normal (non-verbose) output, since a user-action (refreshing the token) is required for This is easy to fix by running the rclone config reconnect remote: command to get a new token and refresh token. I obtained the auth token using using the Windows version on a Windows 10 PC using Firefox. A few months ago I saw it wasn’t working because of authentication failure and refreshed the token. Token expired I think is when you have had your credentials removed from the GD if I’m not mistaken. welcome to the The lifetime of authentication tokens is determined by the cloud service you are talking to. 33 Linux Fedora 23 64 bit OneDrive When filing an issue, please include the following information if possible as well as a description of the problem. I get a JSON with access_token, refresh_token, token_type and expiry, but once I paste the information it somehow converts the access_token and doesn't save the refresh_token. 51. Will I be able to use rclone in a fully unattended Hello Mods, I’m facing issue with Connecting my OneDrive Account. I still get a SL token and then a few hours later it has expired. @asdffdsa Thanks! It still doesn't work though. - os/version: Microsoft Windows 11 Home 23H2 (64 bit) - os/kernel: 10. Replace the drive_id with the id you copied in the previous step. Help and Support. I thought I would like to refresh google Drive token via command line (windows). I am wondering if it is because I have a few mounts running on the server. ms/ seems to accept only application tokens). Not sure if this is your Rclone挂载Onedrive获取的access token会在获取一小时后过期,再部署完成后的第一个小时能够正常同步,过期后就无法通过rclone Can anything be done for faster sync with Google Drive (and OneDrive), using the latest version of Rclone? Run the command 'rclone version' and share the full output of the command. Then I noticed that my client ID and secret were expired, so I tried to make a new secret. Give it an appropriate name. What is the problem you are having with rclone? One drive upload speeds are painfully slow, initally only reaching about 60-90 Kib/s, then it throttles down to 5-4 Kib/s. For example, to update the env_auth field of a remote of name myremote you would do: Hi Rajesh, OneDrive is primarily designed to store Office documents. com tokens should be good for quite some time (~1month) of non-use. It works just fine when initially configured. Once the remote is set up then I've never had to open the browser again in the 6 months I've had the remote defined. I have two issues: The first being that, I can't seem to see the contents of my first remote after mounting even though it has existing contents in it. What is the problem you are having with rclone? I have a business OneDrive account and have moved a couple folders people have shared with me into one of my sub-directories (trying to stay organized). ). Which OS you are using and how many bits (eg Windows 7, 64 bit) Unraid 6. Double check the config for sensitive info before posting publicly - rclone lsd OneDrive: -vv 2024/10/08 21:17:36 DEBUG : rclone: Version "v1. An authorization token to use with all calls, other than b2_authorize_account, that need an Authorization header. ” which didn’t help much either. 68 OS : Nobara 40. If you get command not found, please make sure to update rclone. I also saved the old config (with the old token), ran rclone config to get a new token; when I copy the old config in place I can reproduce this issue 100%. rclone, on the fly, should refresh the token. I was hoping rclone forum Access Token Expired. I will now try setting the project to internal as specified above and see how that goes What is the problem you are having with rclone? Suddenly my encrypted gdrive share cannot mount and cannot ls. Regardless if you are use your own client ID or rclone, you need to authenticate your app to connect. 1 Connected (64 bit) os/kernel: 6. txt |nud3s%20. rclone copy gdrive: onedrive: --fast-list --checkers Need to copy 40k large files (3-4gb each) from Google Drive to OneDrive. It autorefreshes tokens but without any info, it's tough to tell what your issue Open your rclone. run this command and post the rclone. 1, the other day, and it found a bunch of changes in the issue directory and proceeded to update the cloud remote; OneDrive in this case. Any suggestions or is it obvious what I am doing wrong? Help much appreciated as I have been retracing my steps and troubleshouging over the last couple of hours. Run rclone config to create or edit a OneDrive remote. avi Movies\\B\\BBMovie. We've detected some activity that violates our [Microsoft Services Agreement] and have locked your account. This authorization token is valid for at most 24 hours. 53. What is your rclone version (output from rclone version) -->rclone v1. The topic discusses using app credentials to login to microsoft and get the access token, otherwise for each document library I will have to authenticate and reauthenticate etc. I'm not sure if it's a problem with rclone (since I didn't find anyone with this problem) or onedrive - but I'll be glad to any response. ava Onedrive2: Movies\\A\\AAMovie. if you do not want to use tokens, use a service account file. 0 Which OS you are using and how many bits (eg Windows 7, 64 What is the problem you are having with rclone? I want to setup Rclone with a personal OneDrive account using my own client ID and key on an headless machine. 1 os/version: slackware 15. still, I can see that an account that I opened last week has asked me to refresh my token several times, already. token expired and there's no refresh token - manually refresh with "rclone config reconnect SCBackups:" I'm getting close to giving up on RClone and I really don't want to. in addition, google has made some major I am syncing about 10TB( need about 15 days) data from an onedrive account to another. What is your rclone version (output from rclone version) v1. I can use the rclone lsd odrive: command, and it's output is correct. So set it up on your main machine and copy the config file to the remote machine. This is the message I get when a authorize rclone to use my What is the problem you are having with rclone? On 2 of my nodes, I keep getting errors that the used token is expired shortly after generating a token using rclone authorize. When I do an lsd or copy I don't see the shared with me folder. 0, due to recent improvements with the onedrive backend. Latest version 10. Can't upload, rclone sync -P OneDrive: OneDrive2: The rclone config contents with secrets removed. 04 (64 bit) - os/kernel: 6. rclone forum Cannot Refresh OneDrive Token. Supply the app ID and password as Client ID and v1. It's valid from '3/2/2021 11:25:38 PM' and to '3/3/2021 11:25:38 PM'. rclone 1. The command you were trying to run (eg rclone copy /tmp remote:tmp) Paste command here The rclone config contents with secrets What is the problem you are having with rclone? I created a remote that points to the root of a personal OneDrive. The options should be passed in pairs of key value or as key=value. 9. So I authorize through a windows machine which also runs rclone 1. 45 and try to configure Onedrive for Business on a headless machine. I get this command from Pi config: rclone authorize "o rclone forum {"access_token":"eyJ0eXAiOiJKV1QiLCJu. You can use pretty much the same steps to access Google Drive on Linux with rsync. When I tried to transfer files to one of the drives I haven't used in months I wasn't able to do Onedrive. 45 stable. 0-1. 1 Which OS you are using and how many bits (eg Windows 7, 64 bit) Raspberrypi:linux Which cloud storage system are you using? (eg Google Drive) Onedrive The What is the problem you are having with rclone? I had a remote connect with Onedrive that worked fine before token as expired. grab directories that Plex DVR creates. What is your rclone version (output from rclone version) rclone v1. 5 Hi support, I want to get backup with rclone automatically. I've read that Box. We should probably make a note of that in the drive setup. Also: 4. ok. rclone can not change the lifetime but it should automatically renew them if it's possible. The command you were trying to run (eg rclone copy /tmp remote:tmp) rclone copy /tmp/test. I've got several Shared Drives setup on my Google Drive however I've only been using 2 for the past few months. in the forum, onedrive is well known for heavy rate limiting, that is to be expected. Anyway, why is this happening? I configured the Google Drive in rclone last year and haven't used it in 10 months. rclone copy local to remo BY DELETING THIS COMMENT, I AM CONFIRMING I HAVE READ THIS AND WILL USE THE TEMPLATE BELOW FOR MY POST. This JSON token gets refreshed by rclone when the access_token gets expired (rclone is using the refresh token for this purpose) takes the new JSON token and updates the After these steps, rclone config managed to get the token successfully (after I gave permission for rclone to access data, etc. is there a new amazon proxy so I can update my token again? my problem Proxy for Amazon Cloud Drive was closed for reopen a new ticket 27. Hi @Shankar, Pankaja . Not sure what happened with the remote command. Get the error: "token has been expired or revoked" What is your rclone version (output from rclone version) rclone 1. when you posted, there was a template of basic questions to be answered. It is copying from OneDrive config to Please run 'rclone config redacted' and share the full output. Skip this step if you ensure that all of your remotes are suppported by the script. onedrive. " I'm not sure what is Currently configured mounting of one drive service via rclone daemon. txt and i want to rename it NOT What is the problem you are having with rclone? expired_access_token Run the command 'rclone version' and share the full output of the command. As i’m on Windows System, i’m using a Headless System to connect OneDrive. 17- Hi there. 17- Trying to configure a headless Pi to connect to company OneDrive. 7 (64 bit) os/kern What is the problem you are having with rclone? token expired "2023-05-07" <---- May 7th? Herm May 22, 2023, 4:22pm 5. However the token provided by Dropbox had a very short life of only four hours. STOP and READ USE THIS TEMPLATE NO EXCEPTIONS: Please show the effort you've put in to solving the problem and please be specific -- people are volunteering their time to help you! What is the problem you are having with rclone? When using rclone with custom endpoints that is token and authorize url in headless machine the new urls are not sent which is causing issue in getting the token. If you are using your own API keys, you’d see your project/company name as 3rd party access or you’d see “rclone” if you are using the standard rclone API key. 46. When I paste I get this error: ERROR : Failed to save new token in config hi so i need help with rclone --track-renames-strategy size,leaf command so i have 2 remote lets call them remote1 and remote2 so i made changed to remote1 files like some had space at then end and weird char etc lets say remote1 has folder | |file. Copy your OneDrive new entry in the rclone. I'll leave it as it is currently (in production, but not verified) and will report back on when the token next expires Hopefully more than 1 week. Maybe google has put a shadow ban on that client_id or something like that. It is golang limitation. 9600. When I look back at my logs I noticed how it never worked. The docs say that during the initial config, a token will be retrieved and that will require manual intervention, especially if 2FA is involved. When the 24-hour period was reached and the token expired, RClone wouldn't fail and stop; rather, it would start a new transfer of the same file but the new file size would be the original/real file size plus whatever amount What is the problem you are having with rclone? I'm trying to sync all the files on my Google Shared Drive remote to a new Box Business remote but I'm having problems with the refresh token. But the copy speed is ridiculously slow on 1 Gbps port, getting only 20-30 Mbps up and down. Do i have to Generally though, the refresh tokens work as expected and they are all done per Google's requirements in this case so you can't really do much to change it. Naming Note that OneDrive is case insensitive so you can't have a file called "Hello. I am using my own clientID and secret key as per the instructions from rclone What is the problem you are having with rclone? Successfully connected the drive using device_flow but then the Microsoft OneDrive connection stops working after 1 hour when "Failed to copy: unauthenticated: expiredToken: The access token has expired. rclone mount --vfs-cache-mode full one: z: --network-mode --log-level=DEBUG --log-file=rclone. el7 OS: CentOS 7. txt |nud3s. 4541 (x86_64) - os/type: windows - It is unable to get the necessary token and all I got from microsoft is: The URL of the page is the following: https: I remembered once I ran rclone authorize onedrive and it failed because there’s some special character in the app_secret and it got expanded by my shell. Can you give it a try without the trailing slash and let me know if it solves the problem? What is the problem you are having with rclone? When setting up a OneDrive connection I'm prompted for a connection type and I enter 1) OneDrive Personal or Business. If your admin blocks the API request from rclone, you can't get around it. ie, . But, I would like to automate avoiding having to follow the manual way, just by doing a preventive refresh via What is the problem you are having with rclone? For example, when placing an episode to watch with a file size of 900 mb, PLEX takes a few seconds/minutes to load and start watching, other times I'm watching and it freezes and then I have to restart the editing to be able to watch again, when compared to With Google Drive I don't have this slowdown. Then actually die after confirmation, or after an additional Ctrl+C. - os/version: Microsoft Windows 10 Pro 1903 (64 bit) - os/kernel: 10. 68. The token needs to be in JWS or JWE Compact Someone help me? I already used Rclone, but now I can't connect to my oneDrive account :pensativo: Got code 2019/08/16 21:37:11 Failed to configure token: failed to get token: oauth2: cannot fetch token: 401 Unauthoriz That is different to the "delegated permissions" case where an initial JSON token needs to be set first, which has an "access_token" and a "refresh_token", using the credentials of an other user. e. In this case, I will use Onedrive as target. Hello. Leave blank What is the problem you are having with rclone? rclone mount eventually fails due to token refresh failure What is your rclone version (output from rclone version) rclone v1. Now I have seen where others the token just keeps renewing. I'm using JWT for access and rclone config has the client ID/secret. Those logs will be super, super, super helpful if that doesn't work. daniel_angelo (daniel angelo) May 21, 2024, 12:17am 1. 2017 oddly white it works again today rclone in -vv mode said he updated the What is the problem you are having with rclone? There are errors in program output. Looks like that MS has disabled this feature for personal OneDrive. Let's see. This is the solution I find best to stream Netflix videos: It is has good picture quality, is robust and simple to use, which saves me a lot of time thereby allows me to earn more than enough to pay the subscription. 980 GiB --- wasabi uploaded the entire 10GiB file in 1m34. 2-U5 and have successfully configured Cloud Credentials and Cloud Sync Tasks to backup to a business Microsoft OneDrive account. 55 (was using the previous version) but I can't tell you exactly when. But I can get only onedrive access token it expired is 1 hour. It probably has quirks and limitations if primarily used as a backend for streaming. So when I try to run config again by clicking edit existing remote, after the window popped up, it shows "rclone wants access to your Google Account" I then click continue, then the rclone cmd line just closes. avi Movies\\B\\BMovie. 5s rclone copy d:\\files\\10GiB\\10GiB. 47. Need more info to answer this question? This topic was automatically closed 3 days after the last reply. then I tried making a new API/client ID and key. Make sure you test with the latest beta of rclone. 1. is that it did not work. file onedrivevb:zork --progress --onedrive-chunk-size=100Mi --log I had to make a new App pwd for onedrive due to my old one expired. I am copying files from dropbox to google drive, but after some hrs, the access token expired. 0" starting with parameters ["rclone" "lsd What is the problem you are having with rclone? I can't access to onedrive storage, but the onedrive can be found in remote config list. I know how to renew manually via config if expired. Plz help me out 🙂 Onedrive. 5; macOS 11. [5T_OneDrive] type = onedrive client_id = XXX client_secret = XXX drive_type = business token = XXX drive_id = XXX chunk_size = 50Mi ### Double check the config for sensitive info before posting publicly rclone v1. can you run a simple command such as rclone lsd remote: -vv and post the full output. What is the problem you are having with rclone? I need to backup my university files (~1TB) from Google Drive (Education Workspace) to my uni's OneDrive but my I'm assuming that our Azure AD does not have rclone as a trusted application thus it would not return a token and configuring OneDrive in rclone fails. I think i need to authorize the computer again. Start with the simplest! Ensure ~/OneDrive is empty then try: $ rclone mount onedrive: ~/OneDrive -vv. Last time I checked the config file, the "expiry" time (that comes after "refresh_token") was just in about an hour after I created a new remote. OAuth Client Secret. Renewing the tokens is not the duty of rclone. conf with the passwords and such masked? czech1900 August 1, 2018, 7:36am Create a webdav and there i put an link like above and my one Drive login and password. 20778 (x86_64) os/type: windows; OneDrive root 'bkpj/DocJob': Token expired but What is the problem you are having with rclone? expired_access_token Run the command 'rclone version' and share the full output of the command. fvxs xvuzjyc boah zbuvj bojn ihiowia hiigob mnl tlegfua wzo