diff --git a/packages/nodes-base/nodes/Strava/StravaTrigger.node.ts b/packages/nodes-base/nodes/Strava/StravaTrigger.node.ts index 68c7fc650f..9aa248db92 100644 --- a/packages/nodes-base/nodes/Strava/StravaTrigger.node.ts +++ b/packages/nodes-base/nodes/Strava/StravaTrigger.node.ts @@ -270,7 +270,7 @@ export class StravaTrigger implements INodeType { return {}; } - if (resolveData) { + if (resolveData && body.aspect_type !== 'delete') { let endpoint = `/athletes/${body.object_id}/stats`; if (body.object_type === 'activity') { endpoint = `/activities/${body.object_id}`;