s-aska/dropbox-api-command

Something went wrong - when running find command

rleeden opened this issue · 4 comments

Hi,

Whenever I run "dropbox-api find" command it returns the following error on all directories:

"Something went wrong: 400 Bad Request at /usr/local/lib/perl5/site_perl/5.12.2/Net/Dropbox/API.pm line 461."

It lists files fine for the root of my dropbox directory, but for all directories I get the error above. If i try t run it on asub-directory - e.g. "dropbox-api find /subdir" I also get the above error and none of the files in the subdir are listed.

Any suggestions as to what the problem maybe or how I can diagnose what's going on? Thanks in advance.

Richard

Some debug info which may be of use (after running dropbox-api find /Photos)

DB<1> rSomething went wrong: 400 Bad Request at /usr/local/lib/perl5/site_perl/5.12.2/Net/Dropbox/API.pm line 461.
at /usr/local/lib/perl5/site_perl/5.12.2/Net/Dropbox/API.pm line 461
Net::Dropbox::API::_talk_default_error_handler('Net::Dropbox::API=HASH(0xf09920)', 'HTTP::Response=HASH(0x12c3700)') called at /usr/local/lib/perl5/site_perl/5.12.2/Net/Dropbox/API.pm line 452
Net::Dropbox::API::_talk('Net::Dropbox::API=HASH(0xf09920)', 'HASH(0xf10280)', 'files/dropboxPhotos') called at /usr/local/lib/perl5/site_perl/5.12.2/Net/Dropbox/API.pm line 221
Net::Dropbox::API::list('Net::Dropbox::API=HASH(0xf09920)', 'Photos') called at /usr/local/bin/dropbox-api line 364
main::_find('/Photos', 'CODE(0xf0fc40)') called at /usr/local/bin/dropbox-api line 358
main::find('/Photos') called at /usr/local/bin/dropbox-api line 75

Please wait a little.

I'm sorry to keep you waiting.
We have fixed, I want to upgrade.

Thank you for the report.

Thanks - all seems to be working fine again now.