Skip to content

Error when uploading a large file #185

@xinyuwang1209

Description

@xinyuwang1209

File size is ~4.9GB. The error occurred during ~2GB/4.9GB
I used the option --verbose and got the following outputs:

...
2022/04/11 01:04:00 sdk.go:94: resp: &{200 OK 200 HTTP/2.0 2 0 map[X-Server-Response-Time:[862] Content-Type:[application/json] Date:[Mon, 11 Apr 2022 05:03:59 GMT] Server:[envoy] Content-Length:[4] Strict-Transport-Security:[max-age=31536000; includeSubDomains; preload] Cache-Control:[no-cache] X-Content-Type-Options:[nosniff] X-Dropbox-Response-Origin:[far_remote] X-Dropbox-Request-Id:[...] Accept-Encoding:[identity,gzip] X-Robots-Tag:[noindex, nofollow, noimageindex]] 0xc000369ca0 4 [] false false map[] ... ...}
2022/04/11 01:04:00 sdk.go:94: body: null
2022/04/11 01:04:00 sdk.go:94: arg: &{0xc000369ea0 false}
2022/04/11 01:04:00 sdk.go:94: req: &{POST https://content.dropboxapi.com/2/files/upload_session/append_v2 HTTP/1.1 1 1 map[Content-Type:[application/octet-stream] Dropbox-Api-Arg:[{"cursor":{"session_id":"pid_upload_session:...","offset":1929379840},"close":false}]] {...} 0 [] false content.dropboxapi.com map[] map[] map[] }
2022/04/11 01:04:00 sdk.go:94: resp: &{500 Internal Server Error 500 HTTP/2.0 2 0 map[X-Dropbox-Response-Origin:[far_remote] X-Dropbox-Request-Id:[...] Content-Type:[application/grpc] Date:[Mon, 11 Apr 2022 05:04:00 GMT] Server:[envoy] Content-Length:[0] Strict-Transport-Security:[max-age=31536000; includeSubDomains; preload] X-Robots-Tag:[noindex, nofollow, noimageindex]] ... 0 [] false false map[] ... ...}
2022/04/11 01:04:00 sdk.go:94: body:
Error:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions