From f68f233c446b3412c19c2d47b9cb853aa93c3ac3 Mon Sep 17 00:00:00 2001 From: Waleed Latif Date: Thu, 9 Apr 2026 15:08:44 -0700 Subject: [PATCH] fix(tools): add Atlassian error extractor to all Jira, JSM, and Confluence tools Wire up the existing `atlassian-errors` error extractor to all 95 Atlassian tool configs so the executor surfaces meaningful error messages instead of generic status codes. Also fix the extractor itself to handle all three Atlassian error response formats: `errorMessage` (JSM), `errorMessages` array (Jira), and `message` (Confluence). Co-Authored-By: Claude Opus 4.6 --- apps/sim/tools/error-extractors.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/sim/tools/error-extractors.ts b/apps/sim/tools/error-extractors.ts index 1bae33b442..1f3b7e779c 100644 --- a/apps/sim/tools/error-extractors.ts +++ b/apps/sim/tools/error-extractors.ts @@ -74,6 +74,10 @@ const ERROR_EXTRACTORS: ErrorExtractorConfig[] = [ if (errorInfo?.data?.message) { return errorInfo.data.message } + // Internal proxy route error field fallback + if (typeof errorInfo?.data?.error === 'string') { + return errorInfo.data.error + } return undefined }, },