STOP and READ USE THIS TEMPLATE NO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.
What is the problem you are having with rclone?
Unable to connect to a Sharepoint folder that has been shared with me. I am not a member of this organization. I am able to open this folder in my browser, but I get a HTTP error 500 when trying to connect via rclone.
Run the command 'rclone version' and share the full output of the command.
rclone v1.68.0
- os/version: Microsoft Windows 10 Home 22H2 (64 bit)
- os/kernel: 10.0.19045.4894 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.23.1
- go/linking: static
- go/tags: cmount
Which cloud storage system are you using? (eg Google Drive)
Microsoft Sharepoint
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone config
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
n) New remote
e/n/d/r/c/s/q> n
Enter name for new remote.
name> myshare1
Option Storage.
Type of storage to configure.
Choose a number from below, or type in your own value.
[...]
35 / Microsoft OneDrive
\ (onedrive)
[...]
Storage> 35
Option client_id.
OAuth Client Id.
Leave blank normally.
Enter a value. Press Enter to leave empty.
client_id>
Option client_secret.
OAuth Client Secret.
Leave blank normally.
Enter a value. Press Enter to leave empty.
client_secret>
Option region.
Choose national cloud region for OneDrive.
Choose a number from below, or type in your own value of type string.
Press Enter for the default (global).
1 / Microsoft Cloud Global
\ (global)
[...]
region> 1
Edit advanced config?
y) Yes
n) No (default)
y/n> n
Use web browser to automatically authenticate rclone with remote?
* Say Y if the machine running rclone has a web browser you can use
* Say N if running rclone on a (remote) machine without web browser access
If not sure try Y. If Y failed, try N.
y) Yes (default)
n) No
y/n> y
2024/09/16 18:51:29 NOTICE: If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth?state=2Biv7OCm5FpuvMO7_-EcaQ
2024/09/16 18:51:29 NOTICE: Log in and authorize rclone for access
2024/09/16 18:51:29 NOTICE: Waiting for code...
2024/09/16 18:51:37 NOTICE: Got code
Option config_type.
Type of connection
Choose a number from below, or type in an existing value of type string.
Press Enter for the default (onedrive).
[...]
/ Sharepoint site name or URL
3 | E.g. mysite or https://contoso.sharepoint.com/sites/mysite
\ (url)
[...]
config_type> 3
Option config_site_url.
Site URL
Examples:
- "mysite"
- "https://XXX.sharepoint.com/sites/mysite"
- "https://XXX.sharepoint.com/teams/ID"
Enter a value.
config_site_url> https://[redacted].sharepoint.com/sites/[redacted]/Shared%20Documents/[redacted]/[redacted]
Failed to query available site by relative path: HTTP error 500 (500 Internal Server Error) returned body: "{\"error\":{\"code\":\"InternalServerError\",\"message\":\"Unable to find target address\",\"innerError\":{\"date\":\"2024-09-17T01:52:04\",\"request-id\":\"[redacted]\",\"client-request-id\":\"[redacted]\"}}}"
A log from the command that you were trying to run with the -vv
flag
Error occurred when running rclone config
(see above)