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

Large File chunk upload 400 Bad Request #167

Open
apurbajnu opened this issue Apr 26, 2020 · 1 comment
Open

Large File chunk upload 400 Bad Request #167

apurbajnu opened this issue Apr 26, 2020 · 1 comment

Comments

@apurbajnu
Copy link

[26-Apr-2020 15:07:30 UTC] PHP Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error: POST https://content.dropboxapi.com/2/files/upload_session/append_v2 resulted in a 400 Bad Request response:
Error in call to API function "files/upload_session/append:2": HTTP header "Dropbox-API-Arg": cursor.offset: expected in (truncated...)
in /Users/apurbapodder/public_folder/wp-cloner/wp-content/plugins/wp-smart-cloner/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113
Stack trace:
#0 /Users/apurbapodder/public_folder/wp-cloner/wp-content/plugins/wp-smart-cloner/vendor/guzzlehttp/guzzle/src/Middleware.php(65): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response))
#1 /Users/apurbapodder/public_folder/wp-cloner/wp-content/plugins/wp-smart-cloner/vendor/guzzlehttp/promises/src/Promise.php(203): GuzzleHttp\Middleware::GuzzleHttp{closure}(Object(GuzzleHttp\Psr7\Response))
#2 /Users/apurbapodder/public_folder/wp-cloner/wp-content/plugins/wp-smart-cloner/vendor/guzzlehttp/p in /Users/apurbapodder/public_folder/wp-cloner/wp-content/plugins/wp-smart-cloner/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Http/Clients/DropboxGuzzleHttpClient.php on line 62

@apurbajnu
Copy link
Author

It works fine If I dont pass chunksize and filesize.

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

1 participant