Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP/1.1 400 Bad Request #16

Closed
gijsschumacher opened this issue Feb 17, 2015 · 2 comments
Closed

HTTP/1.1 400 Bad Request #16

gijsschumacher opened this issue Feb 17, 2015 · 2 comments

Comments

@gijsschumacher
Copy link

Dear rDrop developers, after some effort I managed to make rDrop work using paleo13's suggestion in this thread: #4. Dropbox_save works using the 'curl=h' addition at the end. But when I try

package <- unserialize(dropbox_get(dropbox_credentials, file='parlvote.rda', curl=h))
share <- dropbox_share(dropbox_credentials, 'parlvote.rda', curl=h) 

I get this error

Error: Bad Request
< HTTP/1.1 400 Bad Request
< Server: nginx

What can I do to fix this?

Thanks!

@gijsschumacher
Copy link
Author

Update. I managed to circumvent this error by using another way to get dropbox_auth to work (also in the thread I mentioned). But now I run into another problem, if I do

a <- 1:4
b <- 5:8
c <- data.frame(a,b)
dropbox_save(dropbox_credentials, c, file='c')
package <- unserialize(dropbox_get(dropbox_credentials, file='c.csv'))
share <- dropbox_share(dropbox_credentials, 'c.csv')

Package and share both return this error:

Error in data.frame(rev = "260eb05338c6f", thumb_exists = FALSE, path = "/c.rda", :
arguments imply differing number of rows: 1, 0

I have tried several different files and file types.

@karthik
Copy link
Owner

karthik commented Apr 4, 2015

I have deprecated this package in favor of a new replacement: See https://github.com/karthik/rDrop2 and file any issues there. Thanks

@karthik karthik closed this as completed Apr 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants