- Issue created by @peter törnstrand
When performing operations via Drush I get lots of these errors:
QBNK\QBank\API\Exception\RequestException: Error while sending request to QBank: Client error: `POST https://xxx.qbank.se/api/v1/events/usage` resulted in a `400 Bad Request` response:
{“error”:{“code”:400,“message”:“Bad Request: `sessionId` is required.“}}
[info]Bad Request: `sessionId` is required. in /var/www/vendor/qbnk/qbank3api-phpwrapper/Controller/ControllerAbstract.php:169
I think it's this line from QBankDAMService
:
$sessionHash = \Drupal::service('session')->getId();
Active
3.1
Code