diff --git a/html/modules/custom/reliefweb_reporting/src/Commands/ReliefWebReportingCommands.php b/html/modules/custom/reliefweb_reporting/src/Commands/ReliefWebReportingCommands.php
index d3f1b4030..f59be95d3 100644
--- a/html/modules/custom/reliefweb_reporting/src/Commands/ReliefWebReportingCommands.php
+++ b/html/modules/custom/reliefweb_reporting/src/Commands/ReliefWebReportingCommands.php
@@ -790,7 +790,7 @@ public function exportReportData(
// Suppress error to avoid echoing the credential in a traceback.
if (!@file_exists($credentials)) {
- $client->setAuthConfig($credentials);
+ $client->setAuthConfig(json_decode($credentials, TRUE));
}
else {
$client->useApplicationDefaultCredentials();