cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We want to make our Community work for you and we need your help. Take our short survey!
Close

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Re: Dropbox API application stopped working with 403 error

Highlighted

Dropbox API application stopped working with 403 error

Explorer | Level 4

Hi,

 

  I have an application that downloads new software to an embedded processor (TI CC3200) by using the Dropbox API.  It just stopped working.  It worked fine the day before yesterday, but now every request for the file to download returns a 403 error.

 

  If I delete the file from the download directory on Dropbox, the embedded application correctly figures out that there is no file to download.  If I place the file to download in the directory, I always get the 403 error.

 

  I know the API will be deprecated in June of 2017, I will be changing the application before that.  

 

Thanks,

 

Vic Berry

1 Accepted Solution

Accepted Solutions
Highlighted

Re: Dropbox API application stopped working with 403 error

Dropboxer
Dropboxer
This should be working again now. Please try /1/media again. The resulting links should work properly.

View solution in original post

8 Replies 8
Highlighted

Re: Dropbox API application stopped working with 403 error

Dropboxer
Dropboxer
Hi Vic, we'll be happy to help with this. Can you share a sample request and response showing the unexpected error? (Just be sure to redact any secret values like the access token or app secret.) Thanks in advance!
Highlighted

Re: Dropbox API application stopped working with 403 error

Explorer | Level 4

Hi Greg,

 

  This is diagnostic output from our embedded application when this transpires.  I have redacted the API keys.

 

-- Diagnostic output starts here --

00:00:08.0992] Device IP Address is 192.168.1.121
[00:00:10.0061] FLASH: System State stored to flash
[00:00:10.0065] Starting OTA Update from 1.18.0
_ReadStatFile: ERROR in sl_FsOpen, status=-11
sl_extLib_OtaRun: call OtaClient_ConnectServer OTA server=api.dropbox.com
OtaClient_ConnectServer: http_connect_server api.dropbox.com
sl_extLib_OtaRun: OtaClient_UpdateCheck, vendorStr=1.18.0
OtaClient_UpdateCheck: call http_build_request /1/metadata/auto/
metadata file=/1.18.0/f80_sys_mcuimgA.bin, size=136464
sl_extLib_OtaRun: OtaClient_UpdateCheck, numUpdates=1
sl_extLib_OtaRun: OtaClient_GetNextUpdate: file=/1.18.0/f80_sys_mcuimgA.bin, size=136464
OtaClient_ResourceMetadata: call http_build_request /1/media/auto
OtaClient_ResourceMetadata: file flags=80,metadata flags=80
sl_extLib_OtaRun: ResourceMetadata CDN file URL = https://dl.dropboxusercontent.com/1/view/eeeeeeeeeeeeeee/1.18.0/f80_sys_mcuimgA.bin
_ReadFileHeaders: domain=dl.dropboxusercontent.com, file=/1/view/eeeeeeeeeeeeeee/1.18.0/f80_sys_mcuimgA.bin
_ReadFileHeaders: skip http headers
http_skip_headers: http error code HTTP/1.1 403
_ReadFileHeaders: ERROR, http_skip_headers, status=-1
CdnClient_ConnectByUrl: ERROR, _ReadFileHeaders, status=-1
sl_extLib_OtaRun ERROR: Failed on CdnClient_ConnectByUrl
[00:00:14.0468] OTA run = -6
[00:00:14.0471] OTA: Error with OTA Server

-- Diagnostic output ends here --

 

 

The code that performs this update is located in a library provided by Texas Instruments.  No code has been changed in this file or the one calling it in several months.

 

Thanks for any help.

 

Vic

 

Highlighted

Re: Dropbox API application stopped working with 403 error

Dropboxer
Dropboxer
Thanks! That's helpful. We're looking into it.
Highlighted

Re: Dropbox API application stopped working with 403 error

New member | Level 2
New member | Level 2

Hi,

 

Same problem with my app, yesterday was working and now 

 

OpenURI::HTTPError - 403 Forbidden

 

the offending url is (i.e.):

 

https://dl.dropboxusercontent.com/1/view/cr0c41lsk3fn103/development/facturas/2016100034_factura_gan...

 

In my case, is a Rails app and I´m using a gem called paperclip-dropbox (https://github.com/janko-m/paperclip-dropbox) to upload pdf files. The part of uploading pdf works fine but I can´t download them

 

Thanks for any help

 

Highlighted

Re: Dropbox API application stopped working with 403 error

New member | Level 2
New member | Level 2

Hi,

 

Also with the same problem reported with my app.

 

https://dl.dropboxusercontent.com/1/view/wbfgljf4hcr39lg/repositorio/unepi/drive/provas/625_20161017...

 

Thanks for any help.

 

Murilo Doria

Highlighted

Re: Dropbox API application stopped working with 403 error

Explorer | Level 4

Hi Greg,

 

   Any progress on this issue?

 

Thanks,

 

Vic

Highlighted

Re: Dropbox API application stopped working with 403 error

Dropboxer
Dropboxer
We should have a fix out for this soon, likely today. I'll follow up here once I have an update for you.
Highlighted

Re: Dropbox API application stopped working with 403 error

Dropboxer
Dropboxer
This should be working again now. Please try /1/media again. The resulting links should work properly.

View solution in original post

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Need more support?