What is the problem you are having with rclone?
I want to set up Google Drive with my own client id but encounters errors. I confirmed that when using the default rclone account it works just fine, so the issue does actually lie in my own client configuration.
I get this when trying to use gdrive after rclone configuration:
amil ~$rclone lsd gdrive:
2025/09/28 16:53:15 CRITICAL: Failed to create file system for "gdrive:": drive: failed when making oauth client: failed to create oauth client from service account: error processing credentials: google: read JWT from JSON credentials: 'type' field is "" (expected "service_account")
Run the command 'rclone version' and share the full output of the command.
rclone v1.71.1
os/version: debian 13.1 (64 bit)
os/kernel: 6.12.48+deb13-amd64 (x86_64)
os/type: linux
os/arch: amd64
go/version: go1.25.1
go/linking: static
go/tags: none
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[gdrive]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
service_account_file = /home/kamil/Misc/client_secret_2_182205354389-uc5koobu5luhgal4ia7c5h2j1jk2jikb.apps.googleusercontent.com.json
team_drive =
A log from the command that you were trying to run with the -vv flag
kamil ~$rclone lsd -vv gdrive:
2025/09/28 17:01:42 DEBUG : rclone: Version "v1.71.1" starting with parameters ["rclone" "lsd" "-vv" "gdrive:"]
2025/09/28 17:01:42 DEBUG : Creating backend with remote "gdrive:"
2025/09/28 17:01:42 DEBUG : Using config file from "/home/kamil/.config/rclone/rclone.conf"
2025/09/28 17:01:42 CRITICAL: Failed to create file system for "gdrive:": drive: failed when making oauth client: failed to create oauth client from service account: error processing credentials: google: read JWT from JSON credentials: 'type' field is "" (expected "service_account")Paste log here