diff --git a/packages/core/src/NodeExecuteFunctions.ts b/packages/core/src/NodeExecuteFunctions.ts index f2ce64da55..eb980476f9 100644 --- a/packages/core/src/NodeExecuteFunctions.ts +++ b/packages/core/src/NodeExecuteFunctions.ts @@ -418,6 +418,7 @@ async function proxyRequestToAxios( // The error-data was made available with request library via "error" but now on // axios via "response.data" so copy information over to keep it compatible error.error = error.response.data; + error.statusCode = error.response.status; reject(error); }); });