<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/improved-error-handling-in-inngest-sdks-5qehq4o9e" -->

---
title: Improved error handling in Inngest SDKs | daily.dev
description: Inngest SDKs now support native try/catch error handling for steps, letting developers gracefully handle failures instead of automatically failing the entire...
canonical: https://daily.dev/posts/improved-error-handling-in-inngest-sdks-5qehq4o9e
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Improved error handling in Inngest SDKs | daily.dev
og:description: Inngest SDKs now support native try/catch error handling for steps, letting developers gracefully handle failures instead of automatically failing the entire...
og:url: https://daily.dev/posts/improved-error-handling-in-inngest-sdks-5qehq4o9e
og:image: https://api.daily.dev/og/posts/5qEhQ4o9e.png
og:image:alt: Improved error handling in Inngest SDKs
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Improved error handling in Inngest SDKs

**[Inngest Blog](https://daily.dev/sources/inngest)** · 4 min read · 0 upvotes · 0 comments

## Summary

Inngest SDKs now support native try/catch error handling for steps, letting developers gracefully handle failures instead of automatically failing the entire function. This works in TypeScript (v3.12.0) and Go (v0.6.0) SDKs, with Python support coming soon. Developers can perform rollbacks, take different code paths on error, handle rejected inputs, and catch a StepError across multiple steps to identify which step failed. The change requires the latest Inngest Dev Server (v0.25.0) and is demonstrated with examples including AI image generation fallback (DALL-E to Midjourney) and database provisioning rollback.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.inngest.com/blog/improved-error-handling>

## Questions this post answers

### How do I catch and handle a failed step.run() call in Inngest TypeScript without failing the whole function?

Wrap the step.run() call in a native try/catch block. Inngest still retries the step automatically until attempts are exhausted, but once it throws, the catch block runs, letting you perform a fallback (like calling a different AI model), a rollback, or custom logic instead of marking the entire function as failed. This is available starting in TypeScript SDK v3.12.0.

_daily.dev surfaces SDK changes like this for teams building resilient event-driven workflows._

### Which Inngest SDK versions support native try/catch error handling for steps?

TypeScript SDK v3.12.0 and Go SDK v0.6.0 support wrapping steps in native try/catch (or Go's idiomatic error handling) to gracefully handle failed steps. Python SDK support was planned to follow shortly after. Using this feature also requires the Inngest Dev Server v0.25.0 or later, run via inngest-cli@latest dev.

_Developers tracking SDK version requirements before upgrading can follow updates like this on daily.dev._

### How can I identify which step failed when catching errors across multiple Inngest steps in one try/catch block?

A StepError is thrown containing a stepId property identifying which step failed, allowing conditional logic based on that ID. For example, checking if err.stepId === "seed-database" lets you run a cleanup step, like removing a partially created database, only when that specific step fails.

_daily.dev helps engineers building rollback logic keep up with workflow SDK updates like Inngest's._

## Similar posts on daily.dev

- [Automating Complex Workflow in Your Next.js App with Inngest](https://daily.dev/posts/automating-complex-workflow-in-your-next-js-app-with-inngest-z21aksfdw) · Telerik · 2 upvotes · 0 comments

---

Tags: [#golang](https://daily.dev/tags/golang), [#inngest](https://daily.dev/tags/inngest), [#typescript](https://daily.dev/tags/typescript)

[View this post on daily.dev](https://daily.dev/posts/improved-error-handling-in-inngest-sdks-5qehq4o9e)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Improved error handling in Inngest SDKs","url":"https://daily.dev/posts/improved-error-handling-in-inngest-sdks-5qehq4o9e","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/improved-error-handling-in-inngest-sdks-5qehq4o9e"},"datePublished":"2026-09-13T19:57:08.507Z","dateModified":"2026-10-15T02:22:37.016Z","description":"Inngest SDKs now support native try/catch error handling for steps, letting developers gracefully handle failures instead of automatically failing the entire...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/565e4593c37ca8d742e70055be7b980d?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/565e4593c37ca8d742e70055be7b980d?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Inngest Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Inngest Blog","logo":"https://media.daily.dev/image/upload/s--ieZKUa5y--/c_limit,w_256/f_auto,q_auto/v1789329423/logos/inngest?_a=BAMAMicg0","url":"https://daily.dev/sources/inngest"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/improved-error-handling-in-inngest-sdks-5qehq4o9e","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"golang,inngest,typescript","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Inngest Blog","item":"https://daily.dev/sources/inngest"},{"@type":"ListItem","position":3,"name":"Improved error handling in Inngest SDKs"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/improved-error-handling-in-inngest-sdks-5qehq4o9e#faq","mainEntity":[{"@type":"Question","name":"How do I catch and handle a failed step.run() call in Inngest TypeScript without failing the whole function?","acceptedAnswer":{"@type":"Answer","text":"Wrap the step.run() call in a native try/catch block. Inngest still retries the step automatically until attempts are exhausted, but once it throws, the catch block runs, letting you perform a fallback (like calling a different AI model), a rollback, or custom logic instead of marking the entire function as failed. This is available starting in TypeScript SDK v3.12.0. daily.dev surfaces SDK changes like this for teams building resilient event-driven workflows."}},{"@type":"Question","name":"Which Inngest SDK versions support native try/catch error handling for steps?","acceptedAnswer":{"@type":"Answer","text":"TypeScript SDK v3.12.0 and Go SDK v0.6.0 support wrapping steps in native try/catch (or Go's idiomatic error handling) to gracefully handle failed steps. Python SDK support was planned to follow shortly after. Using this feature also requires the Inngest Dev Server v0.25.0 or later, run via inngest-cli@latest dev. Developers tracking SDK version requirements before upgrading can follow updates like this on daily.dev."}},{"@type":"Question","name":"How can I identify which step failed when catching errors across multiple Inngest steps in one try/catch block?","acceptedAnswer":{"@type":"Answer","text":"A StepError is thrown containing a stepId property identifying which step failed, allowing conditional logic based on that ID. For example, checking if err.stepId === \"seed-database\" lets you run a cleanup step, like removing a partially created database, only when that specific step fails. daily.dev helps engineers building rollback logic keep up with workflow SDK updates like Inngest's."}}]}
```

