Error while sending request to QBank - sessionId is required

Created on 26 October 2023, about 1 year ago

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();
🐛 Bug report
Status

Active

Version

3.1

Component

Code

Created by

🇸🇪Sweden peter törnstrand

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024