Public modal-devin errors and the action to take for each one.
All library-defined exceptions are importable from modal_devin.
ModalDevinError
Base class for errors raised specifically by modal-devin. Catch it only when one
fallback is appropriate for every library failure.
ConfigurationError
The application contains an invalid worker name, URL, setting, environment value,
credential, or managed Sandbox override. Correct the reported configuration and
redeploy.
ModalCompatibilityError
This release requires a Modal SDK capability missing from the installed version. Run
modal-devin doctor, then install a supported Modal version.
OutpostsAPIError
A Devin API request failed because of authentication, HTTP, connection, or timeout
behavior. Check the credential, outpost, configured API URL, and preceding network error.
OutpostsProtocolError
Devin returned a response outside this release’s safe handling range. Check release
compatibility and the original response error; mark the affected invocation as failed.
SessionStatusUnknownError
The worker exited, but modal-devin was unable to confirm a safe final session state. It
attempts to preserve the filesystem before raising. Resolve the preceding API or
compatibility problem, then retry or resume the session.
WorkerExitedError
The Devin worker returned a nonzero status after recovery handling. Inspect the
preceding worker output.
try: worker.run_session(session_id, app=app, image=image)except WorkerExitedError as error: print(error.session_id) print(error.returncode) raise
str
Session whose worker failed.
int
Nonzero worker process exit status.
Let lifecycle exceptions propagate from the generated function so Modal records
failed attempts and applies its configured retry policy.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"modal-devin","description":"Run secure, resumable Devin Outposts workers on Modal.","colors":{"primary":"#09AF58","light":"#80EE64","dark":"#09AF58"},"logo":{"light":"https://mintcdn.com/modal-devin/yMnkiWeaEc6bEsMB/assets/modal-logo-light.svg?fit=max\u0026auto=format\u0026n=yMnkiWeaEc6bEsMB\u0026q=85\u0026s=5dd42ccb917a383d6e67c5458d2376ca","dark":"https://mintcdn.com/modal-devin/yMnkiWeaEc6bEsMB/assets/modal-logo-dark.svg?fit=max\u0026auto=format\u0026n=yMnkiWeaEc6bEsMB\u0026q=85\u0026s=7a257b5a6da19312fa02e9547ee844a0","href":"/"},"appearance":{"default":"dark","strict":true},"background":{"color":{"light":"#FFFFFF","dark":"#161616"}},"navbar":{"links":[{"href":"https://github.com/modal-labs/modal-devin","label":"GitHub"}],"primary":{"type":"github","href":"https://github.com/modal-labs/modal-devin"}},"footer":{"socials":{"github":"https://github.com/modal-labs/modal-devin"}},"styling":{"eyebrows":"breadcrumbs","latex":false},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"modal-devin","hasAudioNarration":false,"actualSubdomain":"modal-devin","customDomains":[],"gitSource":{"type":"github","owner":"modal-labs","repo":"modal-devin","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae95c4c37dad6e4be6ca033:success","clientVersion":"0.0.4344","searchFilterCounts":[{"language":"default","tag":"Reference","count":6},{"language":"default","tag":"Concepts","count":5},{"language":"default","tag":"How-to guides","count":5},{"language":"default","tag":"Tutorials","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"reference/exceptions","slug":"/reference/exceptions","pageMetadata":{"title":"Exception reference","description":"Public modal-devin errors and the action to take for each one.","icon":"triangle-exclamation","href":"/reference/exceptions"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Public modal-devin errors and the action to take for each one.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Heading,ResponseField,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`All library-defined exceptions are importable from `,_jsx(_components.code,{children:`modal_devin`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`modaldevinerror`,children:_jsx(_components.code,{children:`ModalDevinError`})}),`\n`,_jsxs(_components.p,{children:[`Base class for errors raised specifically by `,_jsx(_components.code,{children:`modal-devin`}),`. Catch it only when one\nfallback is appropriate for every library failure.`]}),`\n`,_jsx(Heading,{level:`2`,id:`configurationerror`,children:_jsx(_components.code,{children:`ConfigurationError`})}),`\n`,_jsx(_components.p,{children:`The application contains an invalid worker name, URL, setting, environment value,\ncredential, or managed Sandbox override. Correct the reported configuration and\nredeploy.`}),`\n`,_jsx(Heading,{level:`2`,id:`modalcompatibilityerror`,children:_jsx(_components.code,{children:`ModalCompatibilityError`})}),`\n`,_jsxs(_components.p,{children:[`This release requires a Modal SDK capability missing from the installed version. Run\n`,_jsx(_components.code,{children:`modal-devin doctor`}),`, then install a supported Modal version.`]}),`\n`,_jsx(Heading,{level:`2`,id:`outpostsapierror`,children:_jsx(_components.code,{children:`OutpostsAPIError`})}),`\n`,_jsx(_components.p,{children:`A Devin API request failed because of authentication, HTTP, connection, or timeout\nbehavior. Check the credential, outpost, configured API URL, and preceding network error.`}),`\n`,_jsx(Heading,{level:`2`,id:`outpostsprotocolerror`,children:_jsx(_components.code,{children:`OutpostsProtocolError`})}),`\n`,_jsx(_components.p,{children:`Devin returned a response outside this release’s safe handling range. Check release\ncompatibility and the original response error; mark the affected invocation as failed.`}),`\n`,_jsx(Heading,{level:`2`,id:`sessionstatusunknownerror`,children:_jsx(_components.code,{children:`SessionStatusUnknownError`})}),`\n`,_jsxs(_components.p,{children:[`The worker exited, but `,_jsx(_components.code,{children:`modal-devin`}),` was unable to confirm a safe final session state. It\nattempts to preserve the filesystem before raising. Resolve the preceding API or\ncompatibility problem, then retry or resume the session.`]}),`\n`,_jsx(Heading,{level:`2`,id:`workerexitederror`,children:_jsx(_components.code,{children:`WorkerExitedError`})}),`\n`,_jsx(_components.p,{children:`The Devin worker returned a nonzero status after recovery handling. Inspect the\npreceding worker output.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`try`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` worker.run_session(session_id, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`app`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`app, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`image`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`image)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`except`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` WorkerExitedError `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`as`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` error:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(error.session_id)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(error.returncode)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` raise`})}),`\n`]})})}),`\n`,_jsx(ResponseField,{name:`session_id`,type:`str`,id:`param-session-id`,children:_jsx(_components.p,{children:`Session whose worker failed.`})}),`\n`,_jsx(ResponseField,{name:`returncode`,type:`int`,id:`param-returncode`,children:_jsx(_components.p,{children:`Nonzero worker process exit status.`})}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Let lifecycle exceptions propagate from the generated function so Modal records\nfailed attempts and applies its configured retry policy.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Exception reference","description":"Public modal-devin errors and the action to take for each one.","icon":"triangle-exclamation","href":"/reference/exceptions"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"ModalDevinError","slug":"modaldevinerror","depth":2,"children":[]},{"title":"ConfigurationError","slug":"configurationerror","depth":2,"children":[]},{"title":"ModalCompatibilityError","slug":"modalcompatibilityerror","depth":2,"children":[]},{"title":"OutpostsAPIError","slug":"outpostsapierror","depth":2,"children":[]},{"title":"OutpostsProtocolError","slug":"outpostsprotocolerror","depth":2,"children":[]},{"title":"SessionStatusUnknownError","slug":"sessionstatusunknownerror","depth":2,"children":[]},{"title":"WorkerExitedError","slug":"workerexitederror","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"modal-devin","siteName":"modal-devin","title":"Exception reference - modal-devin","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-17T18:09:30.834Z","originalFileLocation":"reference/exceptions.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"dark\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Public modal-devin errors and the action to take for each one.\">\u003cmeta data-mint-head name=\"application-name\" content=\"modal-devin\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/modal-devin/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/modal-devin/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/modal-devin/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/modal-devin/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"Exception reference - modal-devin\">\u003cmeta data-mint-head property=\"og:description\" content=\"Public modal-devin errors and the action to take for each one.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"modal-devin\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://modal-devin.mintlify.app/reference/exceptions\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://modal-devin.mintlify.site/_mintlify/api/og/v2?division=Reference\u0026amp;title=Exception+reference\u0026amp;description=Public+modal-devin+errors+and+the+action+to+take+for+each+one.\u0026amp;theme=9778a4187333ca55e5cc3c5c\u0026amp;signature=789ed6dfe0ab8ce3bee46d8d7cfd587892921541e8e727e75d7c82043e6de9f6\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Exception reference - modal-devin\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Public modal-devin errors and the action to take for each one.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://modal-devin.mintlify.site/_mintlify/api/og/v2?division=Reference\u0026amp;title=Exception+reference\u0026amp;description=Public+modal-devin+errors+and+the+action+to+take+for+each+one.\u0026amp;theme=9778a4187333ca55e5cc3c5c\u0026amp;signature=789ed6dfe0ab8ce3bee46d8d7cfd587892921541e8e727e75d7c82043e6de9f6\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/modal-devin/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"modal-devin\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#09AF58\">\u003clink data-mint-head rel=\"canonical\" href=\"https://modal-devin.mintlify.app/reference/exceptions\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/reference/exceptions.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://modal-devin.mintlify.app/#organization\",\"name\":\"modal-devin\",\"url\":\"https://modal-devin.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/modal-devin/yMnkiWeaEc6bEsMB/assets/modal-logo-light.svg?fit=max\u0026auto=format\u0026n=yMnkiWeaEc6bEsMB\u0026q=85\u0026s=5dd42ccb917a383d6e67c5458d2376ca\"}},{\"@type\":\"WebSite\",\"@id\":\"https://modal-devin.mintlify.app#website\",\"name\":\"modal-devin\",\"url\":\"https://modal-devin.mintlify.app\",\"publisher\":{\"@id\":\"https://modal-devin.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://modal-devin.mintlify.app/reference/exceptions#webpage\",\"url\":\"https://modal-devin.mintlify.app/reference/exceptions\",\"name\":\"Exception reference\",\"description\":\"Public modal-devin errors and the action to take for each one.\",\"dateModified\":\"2026-07-17T18:09:30.834Z\",\"isPartOf\":{\"@id\":\"https://modal-devin.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://modal-devin.mintlify.app/reference/exceptions#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://modal-devin.mintlify.app/reference/exceptions#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Reference\",\"item\":\"https://modal-devin.mintlify.app/reference/cli\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Exception reference\",\"item\":\"https://modal-devin.mintlify.app/reference/exceptions\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://modal-devin.mintlify.app/reference/exceptions#article\",\"headline\":\"Exception reference\",\"name\":\"Exception reference\",\"description\":\"Public modal-devin errors and the action to take for each one.\",\"url\":\"https://modal-devin.mintlify.app/reference/exceptions\",\"mainEntityOfPage\":{\"@id\":\"https://modal-devin.mintlify.app/reference/exceptions#webpage\"},\"dateModified\":\"2026-07-17T18:09:30.834Z\",\"publisher\":{\"@id\":\"https://modal-devin.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://modal-devin.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"modal-devin\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"modal-devin\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/reference/exceptions.md","siteName":"modal-devin","nav":{"global":null,"groups":[{"group":"Tutorials","icon":"graduation-cap","pages":[{"title":"Create an outpost","icon":"wand-magic-sparkles","href":"/tutorials/create-an-outpost"},{"title":"Customize an outpost","icon":"paintbrush","href":"/tutorials/custom-workspace"}]},{"group":"How-to guides","icon":"screwdriver-wrench","pages":[{"title":"Configure resources and regions","icon":"microchip","href":"/guides/resources-and-regions"},{"title":"Configure runtime behavior","icon":"sliders","href":"/guides/runtime-configuration"},{"title":"Deploy multiple outposts","icon":"boxes-stacked","href":"/guides/multiple-outposts"},{"title":"Operate a deployed worker","icon":"gauge-high","href":"/guides/operate-a-worker"},{"title":"Troubleshoot a deployment","icon":"stethoscope","href":"/guides/troubleshooting"}]},{"group":"Concepts","icon":"lightbulb","pages":[{"title":"How modal-devin works","icon":"diagram-project","href":"/explanation/architecture"},{"title":"Resumability","icon":"clock-rotate-left","href":"/explanation/resumability"},{"title":"Security model","icon":"shield-halved","href":"/explanation/security"},{"title":"Session lifecycle","icon":"route","href":"/explanation/session-lifecycle"},{"title":"Timeouts","icon":"stopwatch","href":"/explanation/timeouts"}]},{"group":"Reference","icon":"book-open","pages":[{"title":"Command-line reference","icon":"terminal","href":"/reference/cli"},{"title":"Worker reference","icon":"gears","href":"/reference/worker"},{"title":"WorkerSettings reference","icon":"sliders","href":"/reference/settings"},{"title":"Image helpers reference","description":"Build the standard workspace and controller images.","icon":"compact-disc","href":"/reference/images"},{"title":"Exception reference","icon":"triangle-exclamation","href":"/reference/exceptions"},{"title":"Generated application reference","description":"Supported customization points in the application produced by init.","icon":"file-code","href":"/reference/generated-application"}]}]},"basePath":"","title":"Exception reference - modal-devin","deploymentId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","buildId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","dynamics":[],"chunks":[]}