简体   繁体   中英

Dropbox SDK request error

I am using the SwiftyDropbox SDK and I am trying to upload an image file in my app but I keep getting the error:

DropboxSDK: error making request to /1/files_put/dropbox/MelanomaDiagnosis/6E3D4F7B-3342-44CA-B228-01919ED2DB19ExposureTimeVal16666000Scale1000000000.jpg - (400) v1_retired

This v1_retired error indicates that you're calling Dropbox API v1, which is retired . (The "/1/" in the request URL also indicates that you're using API v1.)

The SwiftyDropbox SDK does not use API v1; it uses API v2, so it sounds like you actually are using a different SDK. Please follow the instructions for SwiftyDropbox to install it .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM