diff --git a/src/storage/caas.js b/src/storage/caas.js index 8056bf0bc..dd3bab079 100644 --- a/src/storage/caas.js +++ b/src/storage/caas.js @@ -85,7 +85,7 @@ function getSignedDownloadUrl(apiConfig, info, filename, callback) { assert.strictEqual(typeof filename, 'string'); assert.strictEqual(typeof callback, 'function'); - if (!info.bucket || !info.prefix) return new Error('Invalid configuration'); // prevent error in s3 + if (!info.bucket || !info.prefix || !info.region) return new Error('Invalid configuration'); // prevent error in s3 getBackupCredentials(apiConfig, function (error, credentials) { if (error) return callback(error);