BackWPupでDropboxにアップロードするとエラー400

ブログ(WordPress)
この記事は約4分で読めます。

当サイトのCMSは、Wordpressである。記事のテキスト部分はデータベース(MySQL)に、それ以外はフォルダに置いている。定期的に部分・サイト全体のバックアップをしており、BackWPupプラグインを重宝している。

数日前からそのBackWPupがエラーを吐く。エラー内容は以下のとおり。

[13-May-2019 03:00:19] 1. Dropbox へバックアップファイルを送信します…
[13-May-2019 03:00:20] (中略)/plugins/backwpup/inc/class-destination-dropbox-api.php: Dropbox API: (400) Bad input parameter: Error in call to API function “users/get_current_account”: This app is currently disabled.

(以下、リトライ3回)

[13-May-2019 03:00:20] エラー: ステップを中止: 回数が多すぎます!
[13-May-2019 03:00:20] 1個の古いログを削除しました。
[13-May-2019 03:00:20] エラー: ジョブは14秒でエラー終了しました。エラーを解決する必要があります。

APIがパラメータ不備を指摘して終了、BackWPupはDropboxに接続できずに失敗している。仕様変更がされたのだろうとGoogleするとこんな記事。

Dropbox API: (400) Bad input parameter
Dropbox API: (400) Bad input parameter Resolved mll (@mll) 4 years, 11 months ago Hi, On all the websites I manage, the ...

On all the websites I manage, the daily BackWPup backups failed with the following message:
wp-content/plugins/backwpup/inc/class-destination-dropbox-api.php: Dropbox API: (400) Bad input parameter: Error in call to API function “users/get_current_account”: This app is currently disabled.

Does anyone else have this problem, or is it related to my account ?

意訳:管理しているサイトすべてで、BackWPupのバックアップが以下のようなエラーで失敗するんだ。同じ症状の人います?またはこれはアカウント関係(の問題)?

時期もシステム構成も同じ。まさにこれ。

この問題の回答はこちら。

IMPORTANT!!! – UPDATE your Dropbox Authentification after Release 3.6.9
IMPORTANT!!! – UPDATE your Dropbox Authentification after Release 3.6.9 Christina Fuchs (@vanvox) 4 years, 11 months ago...

please give us your attention for this important announcement!
On May 7th, we released an update for BackWPup (3.6.9) as part of a security precaution of Dropbox. Please update the plugin and authenticate your Dropbox account again in the BackWPup settings until May 10th. Otherwise, the connection of BackWPup to your Dropbox won’t work anymore after May 10th.

意訳:大切なお知らせ。5月7日にBackWPup (3.6.9)でアップデートを行いました。Dropboxのセキュリティ対策です。プラグインの更新とDropboxへの再認証を5月10日までにやってください。さもなければ、BackWPupからDropboxへの接続は5月10日以降機能しなくなります。

プラグインの更新はWordpressが勝手にやるのでいいとして、Dropboxは再度認証を取り直す必要があるとのこと。

同ページからやり方のページにリンクがあって、そのページで詳細を紹介している(と言っても3ステップしかない)

How to restore the Dropbox connection in BackWPup 3.6.9 or later
Starting from BackWPup version 3.6.9 for security reasons a new connection process to Dropbox has been implemented. In c...
  1. モジュールをアップデート
  2. ”Delete Dropbox Authentication”で接続を一度解除
  3. ”Get Dropbox App auth code”でDropboxへ認証設定

サイトを含むすべてのデータをサーバ業者がバックアップしているものの、万が一考えたら自己防衛したいところ。

同じエラーに遭遇した方の参考になれば幸いである。

コメント

タイトルとURLをコピーしました