I am running a gui-less Arch Linux setup, links browser and I'm having trouble with token

First of all, it seems that Google drive is the only one really supported for this type of setup. But when I choose the headless option, go to my phone which has a gui, type that long string and get the token, when I enter it, I get 400 bad request. “error”: Invalid_grant
“error_description”: bad request.

I’m having a hard time believing I keep typing in the token incorrectly, so am I missing something. Does rclone depend on a gui: ie browser with JavaScript and if that is the case are there any text-based browsers that will work to get that token?

Checkout the configuring rclone on a remote machine page. That has the recommended way of doing this.