No way to validate a remote

What is the problem you are having with rclone?

After I've created a remote but before running any operations, I would like to run a command to check if the remote is valid. Does this exist? Currently I'm running an operations/size command, and if the response has an error then I know the remote is invalid. Seems like there should be a better way of doing this -- maybe a command like operations/validate. I don't want to run an operation like sync/copy only to find out that the remote is invalid.

What is your rclone version (output from rclone version)


Which OS you are using and how many bits (eg Windows 7, 64 bit)

MacOS 10.15.7

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

AWS S3 and Azure Blob

The rclone config contents with secrets removed.

"access_key_id": <ACCESS_KEY>,
"location_constraint": "us-west-2",
"provider": "AWS",
"region": "us-west-2",
"secret_access_key": <SECRET_ACCESS_KEY>,
"type": "s3"

You can use rclone about remote:

@Animosity022 neither AWS S3 nor Azure Blob support this.

Did you try it? It should just return nothing.

@Animosity022 yes, the operations/about command returns

	"error": "S3 root doesn't support about",
	"input": {
		"fs": "s3Remote:"
	"path": "operations/about",
	"status": 500

Are you using remote control daemon?

@Animosity022 yes, I am running RClone with the command rclone rcd --rc-no-auth --rc-serve

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