B2 API Throttling
-
I’m getting thousands of the following error:
PHP Fatal error: Uncaught ChrisWhite\\B2\\Exceptions\\B2Exception: Received error from B2: 20 calls/minute allowed for: API_AUTHORIZE_ACCOUNT_CALLED
This appears to be a product of the
b2-sdk-php
module, and may be related to the issue logged here: https://github.com/cwhite92/b2-sdk-php/issues/20Given that this error throws a 5xx series error, it’s resulting in the white screen of death for the WordPress instance.
Full error (redacted) below:
PHP Fatal error: Uncaught ChrisWhite\\B2\\Exceptions\\B2Exception: Received error from B2: 20 calls/minute allowed for: API_AUTHORIZE_ACCOUNT_CALLED in /var/www/webapps/wordpress/<site>/wp-content/plugins/ilab-media-tools/vendor/cwhite92/b2-sdk-php/src/ErrorHandler.php:36\nStack trace:\n#0 /var/www/webapps/wordpress/<site>/wp-content/plugins/ilab-media-tools/vendor/cwhite92/b2-sdk-php/src/Http/Client.php(29): ChrisWhite\\B2\\ErrorHandler::handleErrorResponse(Object(GuzzleHttp\\Psr7\\Response))\n#1 /var/www/webapps/wordpress/<site>/wp-content/plugins/ilab-media-tools/vendor/cwhite92/b2-sdk-php/src/Client.php(411): ChrisWhite\\B2\\Http\\Client->request('GET', 'https://api.bac...', Array)\n#2 /var/www/webapps/wordpress/<site>/wp-content/plugins/ilab-media-tools/vendor/cwhite92/b2-sdk-php/src/Client.php(38): ChrisWhite\\B2\\Client->authorizeAccount()\n#3 /var/www/webapps/wordpress/<site>/wp-content/plugins/ilab-media-tools/classes/Cloud/Storage/Driver/Backblaze/B in /var/www/webapps/wordpress/<site>/wp-content/plugins/ilab-media-tools/vendor/cwhite92/b2-sdk-php/src/ErrorHandler.php on line 36, referer: https://<site>/2018/06/<page>/
- The topic ‘B2 API Throttling’ is closed to new replies.