curl -d "client_id=<client_id>&scope=https://www.googleapis.com/auth/drive.file" https://oauth2.googleapis.com/device/code
the end of the scope url is missing
curl -d client_id=<client id> -d client_secret=<client secret> -d device_code=<device code> -d grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Adevice_code https://accounts.google.com/o/oauth2/token
>
not set, and the url is wrong/missing
curl -X POST -L \
-H "Authorization: Bearer <enter access token here>" \
-F "metadata={name :'<our.zip>'};type=application/json;charset=UTF-8" \
-F "file=@<our.zip>;type=application/zip" \
"https://www.googleapis.com/upload/drive/v3/files?uploadType=multipart"
most of the metadata
value is missing