Rclone get share link google drive

What is the problem you are having with rclone?

I copy the file to normal destpath, now I want to get the share link.
I use the command: rclone link remote: path / to / file
But I get the error: "Failed to link: googleapi: Error 403: This file is never writable., FileNeverWritable"

What is your rclone version (output from rclone version)

rclone v1.52.3

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

ubuntu 18.04

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

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone link remote:path/to/file

The rclone config contents with secrets removed.

type = drive
client_id = 645021652717-675rpr6v5e1om6c0ct55s7bfuroc7ug4.apps.googleusercontent.com
client_secret = xxxxxxx
scope = drive

A log from the command with the -vv flag

2020/09/01 02:06:01 Failed to link: googleapi: Error 403: This file is never writable., fileNeverWritable

What's the file you are trying to link?
Can you run the full command with debug -vv and share the full output?