Setting Up Make.com’s Error Handler Routes to Catch a Failed Claude API Scenario

A robotic arm performing an automated task on a factory assembly line, representing an automated workflow that must handle a failed step

Make.com’s error handler routes let a scenario survive a failed Claude API call without the whole run collapsing — but only if you pick the right one of its five directives for each kind of failure. Pick “Rollback” for a rate-limit error that just needs a retry, and you stop the scenario from running again until someone manually resolves it. Pick “Ignore” for a malformed-request error, and you silently lose the record that caused it. This is a step-by-step setup for a Claude API module in Make, using the directive that actually matches each failure mode.

The five directives, and what each one actually does

Before wiring anything, it’s worth knowing exactly what each error handler directive does, because their names don’t fully describe their behavior. Per Make’s own documentation:

  • Resume — substitutes a fallback value for the failed module’s output, and that substitute data continues through the rest of the scenario. Other bundles keep processing normally, and the run ends with a “success” status.
  • Ignore — disregards the error entirely. The failing bundle stops, but other bundles in the same run continue. Ends as “success.”
  • Break — stores the remaining modules as an incomplete execution, which either retries automatically (if that setting is on) or needs manual resolution. Ends with a “warning” status.
  • Commit — stops the run immediately but saves whatever changes already happened. No further modules execute. Ends as “success.”
  • Rollback — stops the run and reverts changes in any modules that support transactions. This is the default when no error handler is configured, and after enough consecutive errors Make stops scheduling the scenario entirely. Ends as “error.”

The directive that matches a Claude API failure depends entirely on which error it is — which is the part most Make tutorials skip.

Step 1: Add the error handler to the Claude API module

In Make’s scenario editor, right-click the HTTP or Anthropic module making the Claude API call and select “Add error handler.” This attaches a separate route — visually a red line branching off the module — that only fires when that specific module throws an error. Nothing downstream of the error handler route runs during a normal, successful execution; it exists purely as the alternate path.

Step 2: Branch on the actual error type, not just “any error”

Drop a Router module inside the error handler route, before you pick a directive. Claude’s API returns a small number of distinct error types — rate_limit_error, overloaded_error, invalid_request_error, and authentication_error among them — and each one calls for a different response, not a single blanket directive. Set each router branch’s filter to check the error bundle’s status code or error type field (Make exposes this on the failed module’s error output, accessible inside the error route). Anthropic’s own API reference documents the full list, including billing_error (402), not_found_error (404), request_too_large (413), and timeout_error (504) alongside the four named here, and notes the type values may expand over time — see Anthropic’s Claude API errors reference before you lock in router filters, since a code you haven’t accounted for will otherwise fall through to the uncategorized branch.

Step 3: Wire each branch to its matching directive

With the branches split out, attach a different error directive tool to each:

  • Branch for 429 / rate_limit_error and 529 / overloaded_error: add a Sleep module (start at 20-30 seconds) followed by a second call to the same Claude API module, then a Resume directive carrying that retry’s output forward if it succeeds. These are transient failures — the request itself was fine, the capacity wasn’t — so losing the record over it is the wrong outcome. If you’d rather not re-call inline, route to Break instead and let Make’s automatic incomplete-execution retry handle the backoff for you.
  • Branch for 400 / invalid_request_error: this means the request itself was malformed — a bad parameter, an oversized prompt, a schema mismatch — and retrying it will fail identically every time. Log the failing payload to a separate data store (a Google Sheet or Airtable row works for this) and use Ignore, so the one bad record doesn’t block the batch but isn’t silently lost either — it’s captured in the log for someone to fix by hand.
  • Branch for 401 / authentication_error and 403 / permission_error: these mean the API key itself is the problem, and every subsequent call in the run will fail the same way. Use Commit to stop the run cleanly without touching the remaining queued items, then set up a separate alert (an email or Slack module firing off the same branch) so a human fixes the key before the next scheduled run.
  • Everything else (uncategorized errors): leave this branch on Rollback, Make’s default. An error you haven’t specifically classified is one you don’t yet know how to handle safely, and reverting is the conservative choice until you’ve seen it happen once and can add a proper branch for it.

Step 4: Confirm “Break” behaves the way you expect before relying on it

If you chose Break for the rate-limit branch, check your scenario’s incomplete-execution setting (Scenario Settings → “Sequential processing” and the incomplete-execution auto-complete toggle). With automatic completion off, a Break just parks the failed bundle indefinitely until someone opens the scenario’s incomplete executions list and resolves it by hand — which, for a rate-limited Claude API call, means your retry never actually happens unless a person notices. Turn automatic completion on if you want Break to function like an automatic retry, or use the inline Sleep-and-retry approach from Step 3 instead, which doesn’t depend on that setting at all.

Step 5: Test each branch deliberately

Don’t wait for production traffic to exercise all four branches. Force each error type on purpose: send a request with an invalid model name for invalid_request_error, temporarily swap in a revoked key for authentication_error, and fire a tight burst of calls to trigger rate_limit_error naturally. Run the scenario once per forced error and confirm the router sent it down the branch you intended — a filter condition that doesn’t match the field name Make actually populates on that error type is a common, silent misconfiguration that only surfaces the first time a real error of that kind occurs.

A worked before-and-after: a nightly content-summarization scenario

Say you run a nightly Make scenario that pulls 200 new support tickets from a help desk, sends each one to Claude for a one-paragraph summary, and writes the result back to a spreadsheet. With no error handler configured, the scenario uses Make’s default — Rollback — on every module. The first night a single ticket contains a field so large it trips invalid_request_error, the entire run reverts, all 200 summaries are undone, and the scenario stops scheduling itself after a few consecutive failed nights. Nobody notices until someone asks why the spreadsheet hasn’t updated in a week.

After applying the branches from Step 3: that same oversized ticket now hits the invalid_request_error branch, gets logged to a “failed tickets” sheet with its ID and the error message, and is skipped with Ignore. The other 199 tickets still get summarized and written. If the help desk’s API happens to be rate-limiting Claude calls that night, the rate_limit_error branch sleeps and retries automatically instead of losing the batch. The only way the whole run still stops is if the API key itself is invalid — which is the one failure mode where stopping everything and alerting a human actually is the correct outcome.

The difference between the two versions isn’t that the second one never fails — API calls will always fail sometimes. The difference is that only one category of failure (authentication) takes down the whole run, and every other category degrades gracefully instead. That’s the actual goal of an error handler route: not eliminating failure, but making sure each failure’s blast radius matches how serious it really is.

Why this is worth the extra setup over a single catch-all directive

A single error handler set to one directive for every failure type always gets at least one error category wrong, because Rollback, Ignore, Commit, Resume, and Break solve four genuinely different problems: “retry me,” “skip me but log me,” “stop everything now,” and “I don’t know yet, be conservative.” Our comparison of n8n’s error workflow against Zapier’s autoreplay for the same underlying problem makes a similar point from the other direction — different automation platforms expose different granularity for this exact decision, and Make’s branch-per-error-type approach above is one way to get n8n-style granularity inside a tool whose default error handling is otherwise closer to Zapier’s.

If you’re not yet sure which status codes and error types Claude’s API actually returns, start with our field guide to reading Claude API error codes before building the router filters in Step 2 — matching the router’s filter conditions to the exact field names and values Anthropic’s API sends is what makes the branches in Step 3 actually fire on the right errors. And if your bottleneck is a hard timeout rather than a rate limit, the fix looks different again: see our breakdown of Zapier’s documented 30-second timeout limit for why a long-running Claude call needs an async pattern, not just a longer retry delay. For the backoff math behind Step 3’s Sleep-and-retry branch, our n8n exponential backoff workflow walks through the same retry logic, just built in a different tool.

Photo: Henrysz, CC BY 4.0, via Wikimedia Commons.

Source: Make’s own directives for error handling reference.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top