Google 驱动器 API copy() - 404 错误

Google Drive API copy() - 404 error

我在 PHP 中使用 Google 驱动器 API 来管理任何文件(插入、删除、复制..)。
现在我需要在驱动器文件夹中创建一个文件的副本(插入工作正常)。
我的代码和Googlereference一样。我找到带有搜索参数的文件 ID,然后调用函数:

$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'][0]['id']; // unique file name
    $copiedFile = new Google_Service_Drive_DriveFile();
    $copiedFile->setTitle("copied_file");
    $service->files->copy($fileId, $copiedFile);
}

但是当我调用 copy() 时出现了这个错误:

 Error calling POST https://www.googleapis.com/drive/v2/files/1adQjO5ABcbTai3GAEU3RBRHGi8u0_7DlaZfgWywxvqk/copy: (404) File not found: 16bRhq0E_OqYQlTys1oFu1vVeAjWl1P_non2-Z3lLdb8

这是要复制的文件的正确 ID:

1adQjO5ABcbTai3GAEU3RBRHGi8u0_7DlaZfgWywxvqk

但是这个 id 是什么:

16bRhq0E_OqYQlTys1oFu1vVeAjWl1P_non2

我该如何解决?

现在可以了。我从我的应用程序注销(并从 google 帐户权限中删除):当我登录时 google OAuth 请求新权限并且工作正常。