Google Drive API copy() - 404 error
问题 I'm using Google Drive API in PHP to manage any files (insert, delete, copy..). Now I need to create a copy of a file in drive folder (insert work fine). My code is the same of Google reference. I'm find the file ID with search parameters and then call the function: $parameters = array(); $parameters['q'] = "title = '".$title."' and mimeType = 'application/vnd.google-apps.spreadsheet'"; $files = $service->files->listFiles($parameters); if (count($files['items'])>0){ $fileId = $files['items']