DropboxRestAPI icon indicating copy to clipboard operation
DropboxRestAPI copied to clipboard

error: DropboxRestAPI.Models.Exceptions.ServiceErrorException: v1_retired

Open maxdiable opened this issue 6 years ago • 1 comments

hi, this is my code: `var options = new Options { ClientId = appKey, //App key ClientSecret = appSecret, //App secret RedirectUri = callbackUrl };

        // Initialize a new Client (without an AccessToken)
        var client = new Client(options);
        var token = await client.Core.OAuth2.TokenAsync(code);

        var rootFolder = await client.Core.Metadata.MetadataAsync("/", list: false);`

the token is ok, but if call client.Core.Metadata.MetadataAsync the web show this error:

DropboxRestAPI.Models.Exceptions.ServiceErrorException: v1_retired

any help?

br Max

maxdiable avatar Apr 27 '18 14:04 maxdiable

The Core API v1 which this library uses has been deprecated . Use the official API

dnsking avatar Aug 19 '18 07:08 dnsking