Outcomewatch

Guides

n8n credential expired: catch it before your client does

A credential can stop working without anyone touching the workflow: a token expires, someone changes a password, an app is removed. Every run then fails with 401 or "Authorization failed", and the client finds out first.

Recorded in the real app. The agency and clients are fictional.

Steps

  1. Recognise the error

    Look for 401, 403, "Authorization failed", "invalid_grant" or "token expired" on the node that calls the service.

  2. Reconnect the credential

    In n8n, open Credentials, open the one the node uses and reconnect it (sign in again for OAuth, or paste a new key).

  3. Retry the failed executions

    After the fix, retry the executions that failed while the credential was broken, so no lead or message is lost.

  4. Remove the common causes

    Google OAuth apps left in Testing mode issue tokens that expire after 7 days: publish the app. Microsoft client secrets have an end date: note it and renew it before it passes.

  5. Get alerted on the first failure

    Outcomewatch classifies authorization errors as critical and alerts you on the first failed run, with the node, the error and the fix.

    Get alerted on the first failure: screenshot of the Outcomewatch app with demo data

Common mistakes

Transcript

A credential can expire without anyone touching the workflow. Every run then fails, often overnight. Here, New leads to CRM keeps failing: the node called Call API with expired key returns Authorization failed, and Outcomewatch marks it as critical.

The alert names the node, the error, and the fix: reconnect or regenerate the credential in n8n, then retry the failed executions. The weekly report lists the same incident, so your client can see it was caught.

Related guides