0

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

Yurets
  • 3,999
  • 17
  • 54
  • 74
cvrattos
  • 51
  • 1
  • 4
  • Hi, this question will probably require the code that is causing the error. Maybe you are using an old API version? – kismert Jul 03 '18 at 16:31

1 Answers1

0

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.

Greg
  • 16,359
  • 2
  • 34
  • 44