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

API related error while attempting to upload a large file #114

Closed
MahmoudDolah opened this issue Jan 26, 2019 · 5 comments
Closed

API related error while attempting to upload a large file #114

MahmoudDolah opened this issue Jan 26, 2019 · 5 comments

Comments

@MahmoudDolah
Copy link

While attempting to upload this large file, I ran into the following error
It seems to be related to this, perhaps? rclone/rclone#2829

Full output below:

mahmouddolah@DTSN-05571-sdadmins-MacBook-Pro:/Volumes/DATA » dbxcli put --verbose jackrogers_prod_media_archive-2019-01-25.tar.gz Jack\ Rogers/Offboarding
2019/01/26 13:41:21 sdk.go:94: arg: &{false}
2019/01/26 13:41:21 sdk.go:94: req: &{POST https://content.dropboxapi.com/2/files/upload_session/start HTTP/1.1 1 1 map[Content-Type:[application/octet-stream] Dropbox-Api-Arg:[{"close":false}]] {0xc00000a940} <nil> 0 [] false content.dropboxapi.com map[] map[] <nil> map[]   <nil> <nil> <nil> <nil>}
2019/01/26 13:41:26 sdk.go:94: resp: &{200 OK 200 HTTP/1.1 1 1 map[X-Server-Response-Time:[1674] X-Dropbox-Request-Id:[ed1fe7888a491f735147f1b23287dadc] X-Robots-Tag:[noindex, nofollow, noimageindex] Connection:[keep-alive] Vary:[Accept-Encoding] Pragma:[no-cache] Cache-Control:[no-cache] Server:[nginx] Date:[Sat, 26 Jan 2019 18:41:26 GMT] Content-Type:[application/json]] 0xc000544080 -1 [chunked] false true map[] 0xc0000f0e00 0xc00036c370}
2019/01/26 13:41:26 sdk.go:94: body: {"session_id": "AAAAAAAAFNN06jYQREY29w"}
2019/01/26 13:41:26 sdk.go:94: arg: &{0xc0005442a0 false}
2019/01/26 13:41:26 sdk.go:94: req: &{POST https://content.dropboxapi.com/2/files/upload_session/append HTTP/1.1 1 1 map[Content-Type:[application/octet-stream] Dropbox-Api-Arg:[{"cursor":{"session_id":"AAAAAAAAFNN06jYQREY29w","offset":16777216},"close":false}]] {0xc0005442c0} <nil> 0 [] false content.dropboxapi.com map[] map[] <nil> map[]   <nil> <nil> <nil> <nil>}
2019/01/26 13:41:28 sdk.go:94: resp: &{400 Bad Request 400 HTTP/1.1 1 1 map[Date:[Sat, 26 Jan 2019 18:41:28 GMT] Content-Type:[text/plain; charset=utf-8] Connection:[keep-alive] Content-Security-Policy:[sandbox allow-forms allow-scripts] X-Dropbox-Request-Id:[718b13a3b8b80ca9b44ce30f0a846f64] X-Robots-Tag:[noindex, nofollow, noimageindex] Server:[nginx]] 0xc00053e060 -1 [chunked] false false map[] 0xc000476300 0xc00036c370}
2019/01/26 13:41:28 sdk.go:94: body: Error in call to API function "files/upload_session/append": HTTP header "Dropbox-API-Arg": unknown field 'cursor'
Error: Error in call to API function "files/upload_session/append": HTTP header "Dropbox-API-Arg": unknown field 'cursor'
@Still34
Copy link

Still34 commented Jan 28, 2019

Can someone please look into this? It's been several weeks since it broke.

@diwakergupta
Copy link
Collaborator

I'm building a new release which should fix this issue. Thanks for your patience.

@MahmoudDolah
Copy link
Author

@diwakergupta just to confirm you're referring to this release, right?
https://github.com/dropbox/dbxcli/releases/tag/v3.0.0

@diwakergupta
Copy link
Collaborator

diwakergupta commented Jan 30, 2019 via email

@MahmoudDolah
Copy link
Author

MahmoudDolah commented Jan 30, 2019 via email

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

3 participants