ошибка при удалении файлов с облака OVH S3

Всем привет. Столкнулся с проблемой - перестали удаляться и загружаться файлы в облако ovhcloud. До недавнего момента все было нормально. Первой полезла ошибка Missing required header for this request: Content-MD5, подкинул расчет хеша - $deletePayload = json_encode(['Objects' => $obj, 'Quiet' => true]); $contentMd5 = base64_encode(md5($deletePayload, true));

получаю ошибку The Content-MD5 you specified did not match what we received. весь код -

foreach ($array as $arr) {
        $obj[] = ["Key" => $arr];
    }
    if (!empty($obj)) {
        $deletePayload = json_encode(['Objects' => $obj, 'Quiet' => true]);
        $contentMd5 = base64_encode(md5($deletePayload, true));
        try {
                $this->client->deleteObjects([
                'Bucket' => $this->bucket,
                    'Delete'     => json_decode($deletePayload, true),
                    '@http' => [
                        'headers' => [
                            'Content-MD5' => $contentMd5,
                        ],
                    ],
                ]);
        } catch (\Aws\S3\Exception\S3Exception $e) {
                error_log("AWS S3 Delete Error: " . $e->getMessage());
        }
    }

Ответы (0 шт):