From b2151f9fe30cfd1f5b968042c7b95e5de8dc3277 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Wylega=C5=82a?= Date: Tue, 26 Nov 2024 12:41:28 +0100 Subject: [PATCH] Vault env var sync indicates that 403 might be due to invalid path. --- packages/app/script-utils/src/vault/vault.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app/script-utils/src/vault/vault.ts b/packages/app/script-utils/src/vault/vault.ts index be0b64a3..1cff3cf9 100644 --- a/packages/app/script-utils/src/vault/vault.ts +++ b/packages/app/script-utils/src/vault/vault.ts @@ -100,7 +100,7 @@ export const vaultGetVars = (service: string): Record => { return responseJson.data.data } catch (e: unknown) { if (isExecError(e)) { - globalLogger.error(`Vault ${service} error downloading env vars -> ${e.stderr.toString()}`) + globalLogger.error(`Vault ${service} error downloading env vars -> ${e.stderr.toString()}. Make sure you're using correct path to secrets. Vault reports 403 if the path is incorrect.`) } return {} }