Dropbox 使用 Dropbox.NET SDK API v2 将文件复制到另一个不能在 C# 中工作的帐户

Dropbox copy file to another account not working in C# using Dropbox.NET SDK API v2

我正在尝试将文件从 Dropbox 帐户复制到另一个帐户。我正在尝试以下代码-

var client = new DropboxClient("c4zvSWqce");
await client.Files.CopyReferenceSaveAsync(strCopyRef, Path);

CopyReference 值看起来正确,但调用 CopyReferenceSaveAsync 时显示错误 "no_permission"。请参阅附件。我找不到这个错误的原因。 任何帮助将不胜感激。

The documentation 给出了该错误的以下定义:

no_permission Void You don't have permission to save the given copy reference. Please make sure this app is same app which created the copy reference and the source user is still linked to the app.

也许您使用的访问令牌(用于源和目标)不是用于同一个应用程序?