Dropbox Error 400: Bad input parameter
-
Hello BackWPup Team,
I was using the plugin without problems, but recently, i starting getting errors from backing up to Dropbox. i thought about reinstalling the plugin, but currently i am having this error when i try to authenticate Dropbox with backwpup:
DROPBOX: (400) Bad input parameter: {“error_description”: “unknown field \”amp\””, “error”: “invalid_request”}
And it wouldn’t authenticate..
Any ideas what i might be doing wrong?
Thanks
Ahmad
- This topic was modified 7 years, 6 months ago by hostagy. Reason: Adding Error Image
-
Hi @hostagy, are you using the latest version of BackWPup, 3.4.0?
Hi @cocreation, Yes i am running version 3.4.0, and regarding your other question in the other post.
I Used to get this error before reinstalling:
ERROR Log:
[INFO] BackWPup 3.4.0; A project of Inpsyde GmbH
[INFO] WordPress 4.7.5 on https://www.hostagy.com/
[INFO] Log Level: Normal
[INFO] BackWPup job: Job with ID 1
[INFO] Logfile is: backwpup_log_587104_2017-06-02_04-00-21.html
[INFO] Backup file is: backwpup_58710401_2017-06-02_04-00-21.zip
[02-Jun-2017 04:00:21] 1. Try to backup database …
[02-Jun-2017 04:00:21] WARNING: mysqli::real_connect(): Headers and client library minor version mismatch. Headers:50553 Library:50630
[02-Jun-2017 04:00:22] Connected to database xxx on localhost
[02-Jun-2017 04:00:28] Added database dump “backwpup_58710401_PR01735-wordpress.sql.gz” with 5.93 MB to backup file list
[02-Jun-2017 04:00:28] Database backup done!
[02-Jun-2017 04:00:29] 1. Trying to make a list of folders to back up …
[02-Jun-2017 04:00:39] Added “wp-config.php” to backup file list
[02-Jun-2017 04:00:39] 3462 folders to backup.
[02-Jun-2017 04:00:41] 1. Trying to create a WordPress export to XML file …
[02-Jun-2017 04:00:52] Check WP Export file …
[02-Jun-2017 04:00:52] WP Export file is a valid WXR file.
[02-Jun-2017 04:00:52] Compressing file …
[02-Jun-2017 04:00:52] Compressing done.
[02-Jun-2017 04:00:52] Added XML export “backwpup_58710401_Hostagy.com_.wordpress.Y-m-d.xml.gz” with 138.54 KB to backup file list.
[02-Jun-2017 04:00:53] 1. Trying to generate a file with installed plugin names …
[02-Jun-2017 04:00:53] Added plugin list file “backwpup_58710401_Hostagy.com.pluginlist.2017-06-02.txt.gz” with 1.39 KB to backup file list.
[02-Jun-2017 04:00:53] 1. Trying to generate a manifest file …
[02-Jun-2017 04:00:53] Added manifest.json file with 5.65 KB to backup file list.
[02-Jun-2017 04:00:54] 1. Trying to create backup archive …
[02-Jun-2017 04:00:54] Compressing files as ZipArchive. Please be patient, this may take a moment.
[02-Jun-2017 04:04:42] Backup archive created.
[02-Jun-2017 04:04:42] Archive size is 337.66 MB.
[02-Jun-2017 04:04:42] 25023 Files with 513.19 MB in Archive.
[02-Jun-2017 04:04:44] 1. Try to send backup file to Dropbox …
[02-Jun-2017 04:04:45] Authenticated with Dropbox of user: Ahmad Mazen
[02-Jun-2017 04:04:45] Uploading to Dropbox …
[02-Jun-2017 04:04:45] Beginning new file upload session
[02-Jun-2017 04:04:45] Uploading 4 MB of data
[02-Jun-2017 04:04:48] Uploading 4 MB of data
[02-Jun-2017 04:04:49] Uploading 4 MB of data
[02-Jun-2017 04:04:51] Uploading 4 MB of data
[02-Jun-2017 04:04:53] Uploading 4 MB of data
[02-Jun-2017 04:04:54] Uploading 4 MB of data
[02-Jun-2017 04:04:56] Uploading 4 MB of data
[02-Jun-2017 04:04:58] Uploading 4 MB of data
[02-Jun-2017 04:05:00] Uploading 4 MB of data
[02-Jun-2017 04:05:03] Uploading 4 MB of data
[02-Jun-2017 04:05:05] Uploading 4 MB of data
[02-Jun-2017 04:05:07] Uploading 4 MB of data
[02-Jun-2017 04:05:09] Uploading 4 MB of data
[02-Jun-2017 04:05:11] Uploading 4 MB of data
[02-Jun-2017 04:05:14] Uploading 4 MB of data
[02-Jun-2017 04:05:16] Uploading 4 MB of data
[02-Jun-2017 04:05:18] Uploading 4 MB of data
[02-Jun-2017 04:05:21] Uploading 4 MB of data
[02-Jun-2017 04:05:24] Uploading 4 MB of data
[02-Jun-2017 04:05:27] Uploading 4 MB of data
[02-Jun-2017 04:05:29] Uploading 4 MB of data
[02-Jun-2017 04:05:31] Uploading 4 MB of data
[02-Jun-2017 04:05:33] Uploading 4 MB of data
[02-Jun-2017 04:05:35] Uploading 4 MB of data
[02-Jun-2017 04:05:38] Uploading 4 MB of data
[02-Jun-2017 04:05:40] Uploading 4 MB of data
[02-Jun-2017 04:05:44] Uploading 4 MB of data
[02-Jun-2017 04:05:46] Uploading 4 MB of data
[02-Jun-2017 04:05:48] Uploading 4 MB of data
[02-Jun-2017 04:05:50] Uploading 4 MB of data
[02-Jun-2017 04:05:52] Uploading 4 MB of data
[02-Jun-2017 04:05:54] Uploading 4 MB of data
[02-Jun-2017 04:05:56] Uploading 4 MB of data
[02-Jun-2017 04:05:57] Uploading 4 MB of data
[02-Jun-2017 04:05:59] Uploading 4 MB of data
[02-Jun-2017 04:06:01] Uploading 4 MB of data
[02-Jun-2017 04:06:03] Uploading 4 MB of data
[02-Jun-2017 04:06:05] Uploading 4 MB of data
[02-Jun-2017 04:06:07] Uploading 4 MB of data
[02-Jun-2017 04:06:09] Uploading 4 MB of data
[02-Jun-2017 04:06:11] Uploading 4 MB of data
[02-Jun-2017 04:06:15] Uploading 4 MB of data
[02-Jun-2017 04:06:18] Uploading 4 MB of data
[02-Jun-2017 04:06:20] Uploading 4 MB of data
[02-Jun-2017 04:06:21] Uploading 4 MB of data
[02-Jun-2017 04:06:24] Uploading 4 MB of data
[02-Jun-2017 04:06:26] Uploading 4 MB of data
[02-Jun-2017 04:06:28] Uploading 4 MB of data
[02-Jun-2017 04:06:30] Uploading 4 MB of data
[02-Jun-2017 04:06:32] Uploading 4 MB of data
[02-Jun-2017 04:06:34] Uploading 4 MB of data
[02-Jun-2017 04:06:36] Uploading 4 MB of data
[02-Jun-2017 04:06:38] Uploading 4 MB of data
[02-Jun-2017 04:06:40] Uploading 4 MB of data
[02-Jun-2017 04:06:41] Uploading 4 MB of data
[02-Jun-2017 04:06:46] Uploading 4 MB of data
[02-Jun-2017 04:06:49] Uploading 4 MB of data
[02-Jun-2017 04:06:51] Uploading 4 MB of data
[02-Jun-2017 04:06:53] Uploading 4 MB of data
[02-Jun-2017 04:06:54] Uploading 4 MB of data
[02-Jun-2017 04:06:56] Uploading 4 MB of data
[02-Jun-2017 04:06:58] Uploading 4 MB of data
[02-Jun-2017 04:07:00] Uploading 4 MB of data
[02-Jun-2017 04:07:03] Uploading 4 MB of data
[02-Jun-2017 04:07:05] Uploading 4 MB of data
[02-Jun-2017 04:07:06] Uploading 4 MB of data
[02-Jun-2017 04:07:09] Uploading 4 MB of data
[02-Jun-2017 04:07:10] Uploading 4 MB of data
[02-Jun-2017 04:07:12] Uploading 4 MB of data
[02-Jun-2017 04:07:16] Uploading 4 MB of data
[02-Jun-2017 04:07:18] Uploading 4 MB of data
[02-Jun-2017 04:07:20] Uploading 4 MB of data
[02-Jun-2017 04:07:21] Uploading 4 MB of data
[02-Jun-2017 04:07:23] Uploading 4 MB of data
[02-Jun-2017 04:07:26] Uploading 4 MB of data
[02-Jun-2017 04:07:28] Uploading 4 MB of data
[02-Jun-2017 04:07:30] Uploading 4 MB of data
[02-Jun-2017 04:07:31] Uploading 4 MB of data
[02-Jun-2017 04:07:33] Uploading 4 MB of data
[02-Jun-2017 04:07:35] Uploading 4 MB of data
[02-Jun-2017 04:07:37] Uploading 4 MB of data
[02-Jun-2017 04:07:39] Uploading 4 MB of data
[02-Jun-2017 04:07:41] Uploading 4 MB of data
[02-Jun-2017 04:07:43] Uploading 4 MB of data
[02-Jun-2017 04:07:46] Uploading 2 MB of data
[02-Jun-2017 04:07:47] Finishing upload session with a total of 338 MB uploaded
[02-Jun-2017 04:07:49] Backup transferred to /backwpup_58710401_2017-06-02_04-00-21.zip
[02-Jun-2017 04:07:49] ERROR: Call to undefined method BackWPup_Destination_Dropbox_API_Request_Exception::error()
[02-Jun-2017 04:07:51] 2. Try to send backup file to Dropbox …
[02-Jun-2017 04:07:51] Authenticated with Dropbox of user: Ahmad Mazen
[02-Jun-2017 04:07:51] Uploading to Dropbox …
[02-Jun-2017 04:07:52] ERROR: Call to undefined method BackWPup_Destination_Dropbox_API_Request_Exception::error()
[02-Jun-2017 04:07:53] 3. Try to send backup file to Dropbox …
[02-Jun-2017 04:07:53] Authenticated with Dropbox of user: Ahmad Mazen
[02-Jun-2017 04:07:53] Uploading to Dropbox …
[02-Jun-2017 04:07:54] ERROR: Call to undefined method BackWPup_Destination_Dropbox_API_Request_Exception::error()
[02-Jun-2017 04:07:55] ERROR: Step aborted: too many attempts!
[02-Jun-2017 04:07:55] One old log deleted
[02-Jun-2017 04:07:55] ERROR: Job has ended with errors in 454 seconds. You must resolve the errors for correct execution.- This reply was modified 7 years, 6 months ago by hostagy. Reason: Security Measure
@hostagy, that’s odd, but it looks like the file is being transferred correctly. If you email us at support [at] backwpup.com, I do have a fix for you.
Thanks, ill do that now.
Thanks Mr Brandon for the great support,
This topic is now resolved
@hostagy I’m very happy I could resolve this for you. ??
If you are happy with our free plugin and support, please make us happy and take 30 seconds to leave a review. ?? We’d really appreciate that.
I am experiencing a similar problem. What was the solution here?
Hi @cocreation, i have exactly the same situation. Could you help? Thanks in lot
@timpritlove and @nataliaschweizer, the issue is that you or your host has arg_separator.output set to
&
instead of&
.If you’re comfortable with code, the fix goes on line 901 of inc/class-destination-dropbox.php. The line for you currently should look like this:
curl_setopt( $ch, CURLOPT_POSTFIELDS, http_build_query( $args ) );
It should be changed to this:
curl_setopt( $ch, CURLOPT_POSTFIELDS, http_build_query( $args, null, '&' ) );
And that should fix the issue.
It will also be present in the next release, or you can contact us beforehand to get the beta.
- This reply was modified 7 years, 5 months ago by Brandon Olivares.
I put in the fix and restartet the job. It still can’t be completed. Log says:
`
[12-Jun-2017 17:04:49] Upload beendet: Es wurden 3 GB hochgeladen.
[12-Jun-2017 17:04:52] FEHLER: Gr??e der lokalen und der hochgeladenen Datei ist nicht identisch.
[12-Jun-2017 17:04:52] 2. Versuche, das Backup zur Dropbox zu senden …
[12-Jun-2017 17:04:52] Lade 4 MB Daten hoch
[12-Jun-2017 17:04:53] Authentifiziert mit der Dropbox von: nn
[12-Jun-2017 17:04:53] Hochladen zur Dropbox hat begonnen …
[12-Jun-2017 17:04:53] FEHLER: Ausnahme eingefangen in Error: Call to undefined method BackWPup_Destination_Dropbox_API_Request_Exception::error()
[12-Jun-2017 17:04:54] 3. Versuche, das Backup zur Dropbox zu senden …
[12-Jun-2017 17:04:54] Lade 4 MB Daten hoch
[12-Jun-2017 17:04:54] Authentifiziert mit der Dropbox von: nn
[12-Jun-2017 17:04:54] Hochladen zur Dropbox hat begonnen …
[12-Jun-2017 17:04:55] FEHLER: Ausnahme eingefangen in Error: Call to undefined method BackWPup_Destination_Dropbox_API_Request_Exception::error()
[12-Jun-2017 17:04:56] FEHLER: Schritt abgebrochen: zu viele Versuche!
[12-Jun-2017 17:04:56] Eine alte Log-Datei gel?scht
[12-Jun-2017 17:04:56] FEHLER: Job mit Fehlern beendet in 7131 Sekunden. Um eine korrekte Ausführung zu gew?hrleisten, musst du die Fehler beheben.
`
Maybe this is unrelated to the bug described in this thread?
Hi @timpritlove, yes that is unrelated. If you wouln’t mind creating a separate thread, that would be helpful.
- The topic ‘Dropbox Error 400: Bad input parameter’ is closed to new replies.