rdrop2 icon indicating copy to clipboard operation
rdrop2 copied to clipboard

Error HTTP 413

Open georgevbsantiago opened this issue 5 years ago • 1 comments

Hello, Thank you very much for the development of the package.

I'm encountering this error when trying to upload a 400Mg "CSV.gz" file.

Error in rdrop2::drop_upload(nome_arquivo_csv_gz, path = dir_arquivo_dropbox,  : 
  Request Entity Too Large (HTTP 413).

Is the development of this API complex? Could I help with something?

Thanks.

georgevbsantiago avatar Mar 21 '19 14:03 georgevbsantiago

Hi @georgevbsantiago, unfortunately files larger than 150MB can't use the usual upload endpoint and must instead be chunked into parts and uploaded during a session, using a set of endpoints we don't currently support.

I don't think this package is terribly complex, though there's a pending PR which should make it a bit easier to add support for new endpoints to rdrop2.

In the meantime, we should document this better and maybe add a filesize check to provide a more informative error.

If you'd like to help with either we sure wouldn't mind!

ClaytonJY avatar Mar 23 '19 00:03 ClaytonJY