"The specified location-constraint is not valid" when using copyto

I'm trying to copy a single file from local to S3 custom storage (Serverius S3, which uses minio)

I'm using command:
rclone copyto algolia.json serverius:/iansy-public/fonts/algolia.json

Copy a folder or sync a folder like this, works just fine, but copying the single file will just give the error:
ERROR : algolia.json: Failed to copy: InvalidLocationConstraint: The specified location-constraint is not valid

What could be the issue here?

Can you show your config with secrets redacted?

Likely you've set location constraint to something invalid. You don't usually need to set it at all.

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