The compiler’s capture pass received a JSON string representing the model’s Graph IR (intermediate representation), but the JSON could not be parsed. It is not valid Graph IR JSON.
The Graph IR is produced by the Python SDK’s extraction pass (thx.compile internally serializes the model to JSON before invoking the Rust compiler). If this error appears, the serialization or the transport between Python and Rust produced invalid JSON.This error should not occur in normal usage. It indicates:
A version mismatch between the Python SDK and the Rust compiler
A corrupted message when the Python SDK calls the native extension
E0108: Graph IR JSON parse error: missing field `layers` at line 1 column 42Why: the input is not valid Graph IR JSON (produced by thx.compile's Python extraction pass).Fix: verify the Graph IR was produced by a current version of the thrindex Python SDK.Docs: https://docs.thrindex.com/errors/E0108
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"THRINDEX","colors":{"primary":"#141414","light":"#F3EDE3","dark":"#141414"},"logo":{"light":"https://mintcdn.com/thrindex/nWoDI3LZj_glURWp/logo/light.svg?fit=max\u0026auto=format\u0026n=nWoDI3LZj_glURWp\u0026q=85\u0026s=8b51dedbf540fe33b33aa3ad7e20c9bc","dark":"https://mintcdn.com/thrindex/nWoDI3LZj_glURWp/logo/dark.svg?fit=max\u0026auto=format\u0026n=nWoDI3LZj_glURWp\u0026q=85\u0026s=ab780a7fe7cd939e256df1c2f7b179f1"},"favicon":{"light":"https://mintcdn.com/thrindex/_3WEORBs02LJ1E_Z/logo/logo-dark.png?fit=max\u0026auto=format\u0026n=_3WEORBs02LJ1E_Z\u0026q=85\u0026s=777846aa3d6ab8ad355f1e6efb8b920f","dark":"https://mintcdn.com/thrindex/_3WEORBs02LJ1E_Z/logo/logo-light.png?fit=max\u0026auto=format\u0026n=_3WEORBs02LJ1E_Z\u0026q=85\u0026s=7c95be70791d21b345dcb5eaf35dfee3"},"navbar":{"links":[{"href":"https://github.com/thrindex/thrindex","label":"GitHub"}],"primary":{"type":"button","label":"Get started","href":"/getting-started/installation"}},"footer":{"socials":{"github":"https://github.com/thrindex"}},"contextual":{"options":["copy","view","claude","cursor"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/thrindex/thrindex"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"thrindex","hasAudioNarration":false,"actualSubdomain":"thrindex","customDomains":["docs.thrindex.com"],"gitSource":{"type":"github","owner":"thrindex","repo":"thrindex-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"collectionId":"704674ac-3c0a-45e0-8d86-bb0cfee88e36","liveDeploymentHistoryId":"6acba37fc5b4294a03497fd8","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6acba37fc5b4294a03497fd8"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6acba37fc5b4294a03497fd8","clientVersion":"0.0.3964","searchFilterCounts":[{"language":"default","tag":"Docs","count":60},{"language":"default","tag":"Errors","count":33},{"language":"default","tag":"Learn","count":11},{"language":"default","tag":"Systems","count":6},{"language":"default","tag":"API Reference","count":5},{"language":"default","tag":"Foundations","count":5},{"language":"default","tag":"Concepts","count":4},{"language":"default","tag":"Benchmarks","count":3},{"language":"default","tag":"Conformance","count":3},{"language":"default","tag":"Getting Started","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","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":"editor-v7-file-tree","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":"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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"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":"editor-nav-generations","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":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"errors/E0108","slug":"/errors/E0108","pageMetadata":{"title":"E0108 — IrJsonParseError","description":"The Graph IR JSON passed to the compiler is malformed.","href":"/errors/E0108"},"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: \"The Graph IR JSON passed to the compiler is malformed.\"\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`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Warning,{children:`E0108: Graph IR JSON parse error`}),`\n`,_jsx(Heading,{level:`2`,id:`what-happened`,children:`What happened`}),`\n`,_jsx(_components.p,{children:`The compiler’s capture pass received a JSON string representing the model’s Graph IR (intermediate representation), but the JSON could not be parsed. It is not valid Graph IR JSON.`}),`\n`,_jsx(Heading,{level:`2`,id:`why`,children:`Why`}),`\n`,_jsxs(_components.p,{children:[`The Graph IR is produced by the Python SDK’s extraction pass (`,_jsx(_components.code,{children:`thx.compile`}),` internally serializes the model to JSON before invoking the Rust compiler). If this error appears, the serialization or the transport between Python and Rust produced invalid JSON.`]}),`\n`,_jsx(_components.p,{children:`This error should not occur in normal usage. It indicates:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`A version mismatch between the Python SDK and the Rust compiler`}),`\n`,_jsx(_components.li,{children:`A corrupted message when the Python SDK calls the native extension`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`how-to-fix`,children:`How to fix`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Upgrade thrindex`}),`: `,_jsx(_components.code,{children:`pip install --upgrade thrindex`}),`. Both the Python SDK and the Rust engine ship together in the wheel.`]}),`\n`,_jsxs(_components.li,{children:[`Rebuild from source if you are developing THRINDEX itself: `,_jsx(_components.code,{children:`maturin develop --release`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`If this error appears in a released version, please file a bug report with the full error message and the thrindex version (`,_jsx(_components.code,{children:`thrindex doctor`}),`).`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`example`,children:`Example`}),`\n`,_jsx(CodeBlock,{numberOfLines:`5`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\"E0108: Graph IR JSON parse error: missing field `layers` at line 1 column 42\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Why: the input is not valid Graph IR JSON (produced by thx.compile's Python extraction pass).`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Fix: verify the Graph IR was produced by a current version of the thrindex Python SDK.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Docs: https://docs.thrindex.com/errors/E0108`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})}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":"E0108 — IrJsonParseError","description":"The Graph IR JSON passed to the compiler is malformed.","href":"/errors/E0108"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What happened","slug":"what-happened","depth":2,"children":[]},{"title":"Why","slug":"why","depth":2,"children":[]},{"title":"How to fix","slug":"how-to-fix","depth":2,"children":[]},{"title":"Example","slug":"example","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"thrindex","siteName":"THRINDEX","title":"E0108 — IrJsonParseError - THRINDEX","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-10T15:02:18.369Z","originalFileLocation":"errors/E0108.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;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=\"system\"}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=\"The Graph IR JSON passed to the compiler is malformed.\">\u003cmeta data-mint-head name=\"application-name\" content=\"THRINDEX\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/thrindex/N4pknlEsJzjb3C3B/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/thrindex/N4pknlEsJzjb3C3B/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/thrindex/N4pknlEsJzjb3C3B/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/thrindex/N4pknlEsJzjb3C3B/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/thrindex/N4pknlEsJzjb3C3B/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/thrindex/N4pknlEsJzjb3C3B/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/thrindex/N4pknlEsJzjb3C3B/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/thrindex/N4pknlEsJzjb3C3B/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/thrindex/N4pknlEsJzjb3C3B/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"E0108 — IrJsonParseError - THRINDEX\">\u003cmeta data-mint-head property=\"og:description\" content=\"The Graph IR JSON passed to the compiler is malformed.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"THRINDEX\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.thrindex.com/errors/E0108\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://thrindex.mintlify.app/_mintlify/api/og/v2?division=Errors\u0026amp;title=E0108+%E2%80%94+IrJsonParseError\u0026amp;description=The+Graph+IR+JSON+passed+to+the+compiler+is+malformed.\u0026amp;theme=c6dd07c042452870ae175db9\u0026amp;signature=90715b1a4d9e212dd6d475c085aedb47898fc99dd0e59f8e3df5f0fc3f38af31\">\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=\"E0108 — IrJsonParseError - THRINDEX\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"The Graph IR JSON passed to the compiler is malformed.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://thrindex.mintlify.app/_mintlify/api/og/v2?division=Errors\u0026amp;title=E0108+%E2%80%94+IrJsonParseError\u0026amp;description=The+Graph+IR+JSON+passed+to+the+compiler+is+malformed.\u0026amp;theme=c6dd07c042452870ae175db9\u0026amp;signature=90715b1a4d9e212dd6d475c085aedb47898fc99dd0e59f8e3df5f0fc3f38af31\">\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=\"/mintlify-assets/_mintlify/favicons/thrindex/N4pknlEsJzjb3C3B/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"THRINDEX\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#141414\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.thrindex.com/errors/E0108\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/errors/E0108.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.thrindex.com/#organization\",\"name\":\"THRINDEX\",\"url\":\"https://docs.thrindex.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/thrindex/nWoDI3LZj_glURWp/logo/light.svg?fit=max\u0026auto=format\u0026n=nWoDI3LZj_glURWp\u0026q=85\u0026s=8b51dedbf540fe33b33aa3ad7e20c9bc\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.thrindex.com#website\",\"name\":\"THRINDEX\",\"url\":\"https://docs.thrindex.com\",\"publisher\":{\"@id\":\"https://docs.thrindex.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.thrindex.com/errors/E0108#webpage\",\"url\":\"https://docs.thrindex.com/errors/E0108\",\"name\":\"E0108 — IrJsonParseError\",\"description\":\"The Graph IR JSON passed to the compiler is malformed.\",\"dateModified\":\"2026-07-10T15:02:18.369Z\",\"isPartOf\":{\"@id\":\"https://docs.thrindex.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.thrindex.com/errors/E0108#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.thrindex.com/errors/E0108#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Errors\",\"item\":\"https://docs.thrindex.com/errors/index\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"E0108 — IrJsonParseError\",\"item\":\"https://docs.thrindex.com/errors/E0108\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.thrindex.com/errors/E0108#article\",\"headline\":\"E0108 — IrJsonParseError\",\"name\":\"E0108 — IrJsonParseError\",\"description\":\"The Graph IR JSON passed to the compiler is malformed.\",\"url\":\"https://docs.thrindex.com/errors/E0108\",\"mainEntityOfPage\":{\"@id\":\"https://docs.thrindex.com/errors/E0108#webpage\"},\"dateModified\":\"2026-07-10T15:02:18.369Z\",\"publisher\":{\"@id\":\"https://docs.thrindex.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.thrindex.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"THRINDEX\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"THRINDEX","nav":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/thrindex/thrindex"}]},"tabs":[{"tab":"Docs","groups":[{"group":"Getting Started","pages":[{"title":"Installation","href":"/getting-started/installation"},{"title":"Quickstart","href":"/getting-started/quickstart"},{"title":"Your First Model","href":"/getting-started/first-model"}]},{"group":"Tutorials","pages":[{"title":"Keyword Spotting on SHD","href":"/tutorials/keyword-spotting"},{"title":"Event-Camera Vision","href":"/tutorials/event-camera"},{"title":"Anomaly Detection","href":"/tutorials/anomaly-detection"}]},{"group":"Concepts","pages":[{"title":"Compilation","href":"/concepts/compilation"},{"title":"Conformance","href":"/concepts/conformance"},{"title":"Synaptic Delays","href":"/concepts/delays"},{"title":"The .thx Artifact Format","href":"/concepts/artifact-format"}]},{"group":"Systems","pages":[{"title":"Built for systems where physics decides the stack","href":"/systems/overview"},{"title":"Hardware Targets","href":"/systems/hardware-targets"},{"title":"Robotics","href":"/systems/robotics"},{"title":"Drones \u0026 UAVs","href":"/systems/drones-uavs"},{"title":"Aerospace \u0026 Space","href":"/systems/aerospace-space"},{"title":"Defense","href":"/systems/defense"}]},{"group":"API Reference","pages":[{"title":"Python SDK","href":"/api/python-sdk"},{"title":"thrindex.snn","href":"/api/thrindex-snn"},{"title":"thrindex.encoders","href":"/api/thrindex-encoders"},{"title":"thrindex.train","href":"/api/thrindex-train"},{"title":"CLI Reference","href":"/api/cli"}]},{"group":"Errors","pages":[{"title":"Error Reference","href":"/errors/index"},{"title":"E0001 — ArtifactNotFound","href":"/errors/E0001"},{"title":"E0002 — UnsupportedFormatVersion","href":"/errors/E0002"},{"title":"E0003 — UnknownLayerType","href":"/errors/E0003"},{"title":"E0004 — DimensionMismatch (sim)","href":"/errors/E0004"},{"title":"E0005 — InvalidLifParam","href":"/errors/E0005"},{"title":"E0006 — Base64DecodeError","href":"/errors/E0006"},{"title":"E0007 — WeightShapeMismatch","href":"/errors/E0007"},{"title":"E0008 — JsonParseError","href":"/errors/E0008"},{"title":"E0009 — IntegrityCheckFailed","href":"/errors/E0009"},{"title":"E0010 — InputDimensionMismatch","href":"/errors/E0010"},{"title":"E0101 — TauMemTooSmall","href":"/errors/E0101"},{"title":"E0102 — RetimingDelayNotInteger","href":"/errors/E0102"},{"title":"E0103 — DelayExceedsTargetMax","href":"/errors/E0103"},{"title":"E0104 — NoNativeDelaySupport","href":"/errors/E0104"},{"title":"E0105 — EmptyModel","href":"/errors/E0105"},{"title":"E0106 — DimensionMismatch (compiler)","href":"/errors/E0106"},{"title":"E0107 — InvalidResetMode","description":"The LIF reset mode is not 'subtract' or 'zero'.","href":"/errors/E0107"},{"title":"E0108 — IrJsonParseError","href":"/errors/E0108"},{"title":"E0109 — DelayLengthMismatch","description":"The delay array for a Dense layer has the wrong number of entries.","href":"/errors/E0109"},{"title":"E0201 — ArtifactParse (backend)","href":"/errors/E0201"},{"title":"E0202 — InputShapeMismatch (backend)","href":"/errors/E0202"},{"title":"E0203 — OutputShapeMismatch (backend)","href":"/errors/E0203"},{"title":"E0204 — Execution (backend)","href":"/errors/E0204"},{"title":"E0205 — TestSetTooSmall","href":"/errors/E0205"},{"title":"E0206 — OutputShapeMismatch (harness)","href":"/errors/E0206"},{"title":"E0207 — BackendExecution (harness)","href":"/errors/E0207"},{"title":"E0208 — ReferenceError","href":"/errors/E0208"},{"title":"E0401 — LifNotSupported","href":"/errors/E0401"},{"title":"E0402 — DelaysNotSupported","href":"/errors/E0402"},{"title":"E0403 — NonFiniteWeights","href":"/errors/E0403"},{"title":"E0404 — WrongTarget","href":"/errors/E0404"},{"title":"E0407 — TemporalInputNotSupported","href":"/errors/E0407"}]},{"group":"Benchmarks","pages":[{"title":"MNIST","href":"/benchmarks/mnist"},{"title":"Spiking Heidelberg Digits","href":"/benchmarks/spiking-heidelberg-digits"},{"title":"Energy \u0026 Latency","href":"/benchmarks/energy"}]},{"group":"Conformance","pages":[{"title":"Conformance Overview","href":"/conformance/overview"},{"title":"Conformance Envelope V0","href":"/conformance/envelope-v0"},{"title":"Adding a Backend","href":"/conformance/adding-a-backend"}]}]},{"tab":"Learn","pages":[{"title":"Learn","href":"/learn/spiking-neural-networks"}]}]},"title":"E0108 — IrJsonParseError - THRINDEX","buildId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","deploymentId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","dynamics":[],"chunks":[]}