Exception constructors, attributes, causes and recovery for aic-sdk.
Package:aic-sdk==3.4.0. Core SDK:0.26.0.Every SDK exception below subclasses Exception directly. There is no shared SDK base exception. Catch the specific errors you can recover from. Native failures from model loading, constructors, initialization, processing, parameter control, token updates and analysis are mapped to these classes.Every class accepts message: str and exposes a read-only message: str property. ModelDownloadError and UnknownError require one additional constructor argument, shown below. The inherited args, str() and traceback behavior comes from Python’s Exception.Python argument conversion can instead raise TypeError for an incorrect NumPy dtype or dimension, or OverflowError for integers outside the native unsigned range. A noncontiguous one-dimensional float32 view is accepted and normalized by the wrapper. Wrong block length is a separate SDK error. Async methods can raise conversion errors when called and SDK errors when awaited. Background download task failure can raise RuntimeError.
A Python processing exception returns no output array. The wrapper discards its local output on an SDK error, even if the underlying C processor writes fallback samples. Choose and implement your application fallback explicitly.
The sections below describe causes, not an exhaustive list of every native call that can raise each exception. See authentication, audio format and troubleshooting.
Cause: The SDK key or JWT is malformed, empty or contains a NUL character.Recovery: Check that you copied the complete credential without extra characters. Read it from your approved secret source; do not print it.message: str (read-only): Human-readable diagnostic text.
Cause: The credential has expired.Recovery: Renew it. For a session originally created with a JWT, update the bearer token before expiry. Recreate the session when token replacement is unsupported.message: str (read-only): Human-readable diagnostic text.
Cause: The credential format version is unsupported by this SDK.Recovery: Use a compatible released SDK and credential, or contact support.message: str (read-only): Human-readable diagnostic text.
Cause: Token replacement is only supported when the original credential and replacement are both JWTs.Recovery: Use a JWT from initial session creation if rotation is required. The rejected replacement is not installed; recreate the session when changing credential type.message: str (read-only): Human-readable diagnostic text.
Cause: Authorization or usage reporting failed, or the session was terminated. This can occur after successful initialization.Recovery: Check the credential and required network access. Keep handling this error in the processing loop. A terminated session requires a new processor, detector or analyzer; a reset does not reopen it.message: str (read-only): Human-readable diagnostic text.
Cause: The model file is malformed or incomplete.Recovery: Download the model again and verify the local file.message: str (read-only): Human-readable diagnostic text.
Cause: The model file format is incompatible with the installed core SDK.Recovery: Use Model.download() with the installed SDK to select compatible data. Compare get_compatible_model_version() when diagnosing a manually supplied file.message: str (read-only): Human-readable diagnostic text.
Cause: The model type does not match the operation.Recovery: Use an enhancement model for Processor, a dedicated VAD model for Vad and a Tyto analysis model for analyzer_pair or FileAnalyzer.message: str (read-only): Human-readable diagnostic text.
Cause: Native model data does not satisfy the required 64-byte alignment.Recovery: Python exposes file loading rather than raw buffer loading. Use Model.from_file(); report this error with package and platform details if it occurs through that path.message: str (read-only): Human-readable diagnostic text.
Cause: Manifest retrieval, model selection, download, verification or writing the destination failed.Recovery: Inspect details, check the model ID, network access and destination permissions, then retry the download.message: str (read-only): Human-readable diagnostic text.details: str (read-only): Underlying download failure details.
Cause: The model file cannot be opened or read.Recovery: Check that the path exists, is a model file and is readable.message: str (read-only): Human-readable diagnostic text.
Cause: The native file path is invalid.Recovery: Use a valid path without embedded NUL characters. In aic-sdk 3.4.0 a NUL path can escape normal SDK exception conversion; validate it before calling Model.from_file().message: str (read-only): Human-readable diagnostic text.
Cause: The native sample rate or block configuration is unsupported. FileAnalyzer also rejects sample_rate=0 and step_samples=0.Recovery: Start with ProcessorConfig.optimal(model), then initialize. Native input rates are 8,000–192,000 Hz; use a positive block size and a configuration supported by the model.message: str (read-only): Human-readable diagnostic text.
Cause: The number of samples differs from the initialized fixed size or exceeds the maximum variable size.Recovery: Use exactly config.block_size mono samples, or a block of up to that size with variable_block_size=True. A wrong dtype or dimension raises Python TypeError instead.message: str (read-only): Human-readable diagnostic text.
Cause: Processing or buffering was attempted before initialization.Recovery: Pass config to the processor or detector constructor, or call initialize/initialize_async. Initialize the Collector before buffer().message: str (read-only): Human-readable diagnostic text.
Cause: A parameter value lies outside its supported range.Recovery: Use the bounds on ProcessorParameter or VadParameter. Read the current value with get_parameter(); do not infer model-specific defaults.message: str (read-only): Human-readable diagnostic text.
Cause: Compatibility exception retained in the Python public surface. The 3.4.0 error mapper does not emit it.Recovery: Keep it only where existing application code requires the type; current parameter validation uses ParameterOutOfRangeError.message: str (read-only): Human-readable diagnostic text.
Cause: A native internal operation failed. A NUL-containing OtelConfig.session_id also maps to this error during processor or detector construction.Recovery: First check the supplied session ID. For other failures, retain package/core versions and a minimal reproduction and contact support; omit credentials.message: str (read-only): Human-readable diagnostic text.
Cause: The native SDK returned an error code not recognized by this wrapper.Recovery: Record error_code and package/core versions, then report a minimal reproduction without credentials.message: str (read-only): Human-readable diagnostic text.error_code: int (read-only): Signed 32-bit native error code.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"ai-coustics Docs","description":"Integrate and operate ai-coustics audio models in your application.","colors":{"primary":"#006FFF","light":"#6993FF","dark":"#006FFF"},"logo":{"light":"https://mintcdn.com/ai-coustics/TRQ6cYSvxBnlqNAk/logo/light.svg?fit=max\u0026auto=format\u0026n=TRQ6cYSvxBnlqNAk\u0026q=85\u0026s=811a7351a129b8c16831882725fa1e9f","dark":"https://mintcdn.com/ai-coustics/TRQ6cYSvxBnlqNAk/logo/dark.svg?fit=max\u0026auto=format\u0026n=TRQ6cYSvxBnlqNAk\u0026q=85\u0026s=0ed4b1ebfd381ef8674fcc5aba00e414"},"favicon":{"light":"https://mintcdn.com/ai-coustics/TRQ6cYSvxBnlqNAk/logo/favicon-light.svg?fit=max\u0026auto=format\u0026n=TRQ6cYSvxBnlqNAk\u0026q=85\u0026s=59bbb7bd1ad6425827271c3cb866b4af","dark":"https://mintcdn.com/ai-coustics/TRQ6cYSvxBnlqNAk/logo/favicon-dark.svg?fit=max\u0026auto=format\u0026n=TRQ6cYSvxBnlqNAk\u0026q=85\u0026s=89d8a383bd7a7ee3b718157ae00da595"},"appearance":{"default":"system","strict":false},"background":{"color":{"light":"#F9F9F9","dark":"#0F0F0F"}},"navbar":{"links":[{"href":"https://discord.gg/wrSthtNqQ4","label":"Discord"}],"primary":{"type":"button","label":"Dashboard","href":"https://developers.ai-coustics.com"}},"footer":{"socials":{"github":"https://github.com/ai-coustics","linkedin":"https://linkedin.com/company/ai-coustics","discord":"https://discord.gg/wrSthtNqQ4"},"links":[{"items":[{"label":"Artifacts","href":"https://artifacts.ai-coustics.io/"},{"label":"Blog","href":"https://ai-coustics.com/blog"},{"label":"Contact","href":"https://ai-coustics.com/contact"},{"label":"Support","href":"https://discord.gg/wrSthtNqQ4"}]},{"items":[{"label":"Privacy Policy","href":"https://ai-coustics.com/legal/privacy-policy"},{"label":"Legal Notice","href":"https://ai-coustics.com/legal/legal-notice"}]}]},"fonts":{"family":"Milling Duplex","source":"https://marketing.ai-coustics.com/asset-nr111222","format":"woff2"},"integrations":{"posthog":{"apiKey":"phc_jUyY7eTktQfc09C1NsINHKUOFptORtA3GXQwmWQCxwv","apiHost":"https://phdata.ai-coustics.com","sessionRecording":true}},"banner":{"content":"Core SDK 0.26.0 uses model file version 8 and renamed Quail, Rook and VAD model IDs such as `quail-l-16khz`. [Update your model IDs](/models/older-models/model-naming-changes#model-file-version-8-use-the-new-ids).","dismissible":true},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"variables":{"CoreSdkVersion":"0.26.0","CPackageVersion":"0.26.0","CppPackageVersion":"0.26.0","NodePackageVersion":"0.26.0","WasmPackageVersion":"0.26.0","RustCrateVersion":"0.25.2","RustSysCrateVersion":"0.25.2","LiveKitExtrasVersion":"0.26.0","PythonPackageVersion":"3.4.0","PipecatFrameworkPackageVersion":"1.15.0","PipecatPythonPackageVersion":"3.3.2","PipecatCoreSdkVersion":"0.25.2","CppCoreSdkVersion":"0.26.0","NodeCoreSdkVersion":"0.26.0","WasmCoreSdkVersion":"0.26.0","RustCoreSdkVersion":"0.25.2","PythonCoreSdkVersion":"0.26.0","LiveKitExtrasCoreSdkVersion":"0.26.0","LiveKitPythonPackageVersion":"3.4.0","LiveKitNodePackageVersion":"0.26.0"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ai-coustics","hasAudioNarration":false,"actualSubdomain":"ai-coustics","customDomains":["docs.ai-coustics.com"],"gitSource":{"type":"github","owner":"ai-coustics","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae86e7b06138f92515d8588","collectionId":"b4a3f6bf-d57f-4a86-892f-7792782126f0","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae86e7b06138f92515d8588"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aedde2cb961f3bf48d4c9aa","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"Reference","count":47},{"language":"default","tag":"API reference","count":37},{"language":"default","tag":"Guides","count":15},{"language":"default","tag":"Models","count":14},{"language":"default","tag":"Get started","count":13},{"language":"default","tag":"WebAssembly","count":7},{"language":"default","tag":"C","count":6},{"language":"default","tag":"C++","count":6},{"language":"default","tag":"Node.js","count":6},{"language":"default","tag":"Python","count":6}]},"assistantConfig":{"enableAskAiButton":true,"enableStarterQuestions":true,"enableAskAiSearchBar":false,"deflection":{"enabled":true,"email":"support@ai-coustics.com","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[],"starterQuestions":[{"_id":"69860095cf6bd26bac483cd9","deploymentId":"68beef77fe02728a34d52964","questionText":"How to generate an SDK key?","status":"active","generatedBy":"manual","createdAt":"2026-02-06T14:54:13.180Z","updatedAt":"2026-02-06T14:54:13.180Z","__v":0},{"_id":"69860087cf6bd26bac483cc6","deploymentId":"68beef77fe02728a34d52964","questionText":"Which model is the best for my integration?","status":"active","generatedBy":"manual","createdAt":"2026-02-06T14:53:59.865Z","updatedAt":"2026-02-06T14:53:59.865Z","__v":0},{"_id":"69860078cf6bd26bac483c9e","deploymentId":"68beef77fe02728a34d52964","questionText":"How to get started with the SDK?","status":"active","generatedBy":"manual","createdAt":"2026-02-06T14:53:44.411Z","updatedAt":"2026-02-06T14:53:44.411Z","__v":0}],"privacy":{"consentBanner":{"enabled":true}},"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"sidebar-nav-group-divider{display:block;height:0;margin:0.85rem 0;border-top:1px solid #DEDEDE}.dark sidebar-nav-group-divider{border-top-color:#333333}.nav-tabs-item img[aria-hidden=\"true\"]{filter:none}.dark .nav-tabs-item img[aria-hidden=\"true\"]{filter:invert(1)}#content :is(a,span)[id]:empty{scroll-margin-top:var(--scroll-mt, 10rem)}"}],"page":{"pagePath":"reference/sdk/api/python/errors","slug":"/reference/sdk/api/python/errors","pageMetadata":{"title":"Python errors","description":"Exception constructors, attributes, causes and recovery for aic-sdk.","href":"/reference/sdk/api/python/errors"},"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: \"Exception constructors, attributes, causes and recovery for aic-sdk.\"\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={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._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:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Package:`}),` `,_jsx(_components.code,{children:`aic-sdk==3.4.0`}),`. `,_jsx(_components.strong,{children:`Core SDK:`}),` `,_jsx(_components.code,{children:`0.26.0`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Every SDK exception below subclasses `,_jsx(_components.code,{children:`Exception`}),` directly. There is no shared SDK base exception. Catch the specific errors you can recover from. Native failures from model loading, constructors, initialization, processing, parameter control, token updates and analysis are mapped to these classes.`]}),`\n`,_jsxs(_components.p,{children:[`Every class accepts `,_jsx(_components.code,{children:`message: str`}),` and exposes a read-only `,_jsx(_components.code,{children:`message: str`}),` property. `,_jsx(_components.code,{children:`ModelDownloadError`}),` and `,_jsx(_components.code,{children:`UnknownError`}),` require one additional constructor argument, shown below. The inherited `,_jsx(_components.code,{children:`args`}),`, `,_jsx(_components.code,{children:`str()`}),` and traceback behavior comes from Python’s `,_jsx(_components.code,{children:`Exception`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Python argument conversion can instead raise `,_jsx(_components.code,{children:`TypeError`}),` for an incorrect NumPy dtype or dimension, or `,_jsx(_components.code,{children:`OverflowError`}),` for integers outside the native unsigned range. A noncontiguous one-dimensional `,_jsx(_components.code,{children:`float32`}),` view is accepted and normalized by the wrapper. Wrong block length is a separate SDK error. Async methods can raise conversion errors when called and SDK errors when awaited. Background download task failure can raise `,_jsx(_components.code,{children:`RuntimeError`}),`.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`A Python processing exception returns no output array. The wrapper discards its local output on an SDK error, even if the underlying C processor writes fallback samples. Choose and implement your application fallback explicitly.`})}),`\n`,_jsxs(_components.p,{children:[`The sections below describe causes, not an exhaustive list of every native call that can raise each exception. See `,_jsx(_components.a,{href:`/models/get-started/authenticate-apps`,children:`authentication`}),`, `,_jsx(_components.a,{href:`/reference/concepts/audio-format`,children:`audio format`}),` and `,_jsx(_components.a,{href:`/production/troubleshooting`,children:`troubleshooting`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`license-and-authorization`,children:`License and authorization`}),`\n`,_jsx(`a`,{id:`licenseformatinvaliderror`}),`\n`,_jsx(`a`,{id:`aic_sdk-LicenseFormatInvalidError`}),`\n`,_jsx(Heading,{level:`3`,id:`licenseformatinvaliderror`,children:_jsx(_components.code,{children:`LicenseFormatInvalidError`})}),`\n`,_jsx(`a`,{id:`licenseformatinvaliderror-constructor`}),`\n`,_jsx(`a`,{id:`aic_sdk-LicenseFormatInvalidError-constructor`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`LicenseFormatInvalidError(message: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Cause:`}),` The SDK key or JWT is malformed, empty or contains a NUL character.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Recovery:`}),` Check that you copied the complete credential without extra characters. Read it from your approved secret source; do not print it.`]}),`\n`,_jsx(`a`,{id:`licenseformatinvaliderror-message`}),`\n`,_jsx(`a`,{id:`aic_sdk-LicenseFormatInvalidError-message`}),`\n`,_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`message: str`}),` (read-only):`]}),` Human-readable diagnostic text.`]}),`\n`,_jsx(`a`,{id:`licenseexpirederror`}),`\n`,_jsx(`a`,{id:`aic_sdk-LicenseExpiredError`}),`\n`,_jsx(Heading,{level:`3`,id:`licenseexpirederror`,children:_jsx(_components.code,{children:`LicenseExpiredError`})}),`\n`,_jsx(`a`,{id:`licenseexpirederror-constructor`}),`\n`,_jsx(`a`,{id:`aic_sdk-LicenseExpiredError-constructor`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`LicenseExpiredError(message: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Cause:`}),` The credential has expired.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Recovery:`}),` Renew it. For a session originally created with a JWT, update the bearer token before expiry. Recreate the session when token replacement is unsupported.`]}),`\n`,_jsx(`a`,{id:`licenseexpirederror-message`}),`\n`,_jsx(`a`,{id:`aic_sdk-LicenseExpiredError-message`}),`\n`,_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`message: str`}),` (read-only):`]}),` Human-readable diagnostic text.`]}),`\n`,_jsx(`a`,{id:`licenseversionunsupportederror`}),`\n`,_jsx(`a`,{id:`aic_sdk-LicenseVersionUnsupportedError`}),`\n`,_jsx(Heading,{level:`3`,id:`licenseversionunsupportederror`,children:_jsx(_components.code,{children:`LicenseVersionUnsupportedError`})}),`\n`,_jsx(`a`,{id:`licenseversionunsupportederror-constructor`}),`\n`,_jsx(`a`,{id:`aic_sdk-LicenseVersionUnsupportedError-constructor`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`LicenseVersionUnsupportedError(message: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Cause:`}),` The credential format version is unsupported by this SDK.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Recovery:`}),` Use a compatible released SDK and credential, or contact support.`]}),`\n`,_jsx(`a`,{id:`licenseversionunsupportederror-message`}),`\n`,_jsx(`a`,{id:`aic_sdk-LicenseVersionUnsupportedError-message`}),`\n`,_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`message: str`}),` (read-only):`]}),` Human-readable diagnostic text.`]}),`\n`,_jsx(`a`,{id:`tokenunsupportederror`}),`\n`,_jsx(`a`,{id:`aic_sdk-TokenUnsupportedError`}),`\n`,_jsx(Heading,{level:`3`,id:`tokenunsupportederror`,children:_jsx(_components.code,{children:`TokenUnsupportedError`})}),`\n`,_jsx(`a`,{id:`tokenunsupportederror-constructor`}),`\n`,_jsx(`a`,{id:`aic_sdk-TokenUnsupportedError-constructor`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`TokenUnsupportedError(message: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Cause:`}),` Token replacement is only supported when the original credential and replacement are both JWTs.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Recovery:`}),` Use a JWT from initial session creation if rotation is required. The rejected replacement is not installed; recreate the session when changing credential type.`]}),`\n`,_jsx(`a`,{id:`tokenunsupportederror-message`}),`\n`,_jsx(`a`,{id:`aic_sdk-TokenUnsupportedError-message`}),`\n`,_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`message: str`}),` (read-only):`]}),` Human-readable diagnostic text.`]}),`\n`,_jsx(`a`,{id:`processingnotallowederror`}),`\n`,_jsx(`a`,{id:`aic_sdk-ProcessingNotAllowedError`}),`\n`,_jsx(Heading,{level:`3`,id:`processingnotallowederror`,children:_jsx(_components.code,{children:`ProcessingNotAllowedError`})}),`\n`,_jsx(`a`,{id:`processingnotallowederror-constructor`}),`\n`,_jsx(`a`,{id:`aic_sdk-ProcessingNotAllowedError-constructor`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`ProcessingNotAllowedError(message: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Cause:`}),` Authorization or usage reporting failed, or the session was terminated. This can occur after successful initialization.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Recovery:`}),` Check the credential and required network access. Keep handling this error in the processing loop. A terminated session requires a new processor, detector or analyzer; a reset does not reopen it.`]}),`\n`,_jsx(`a`,{id:`processingnotallowederror-message`}),`\n`,_jsx(`a`,{id:`aic_sdk-ProcessingNotAllowedError-message`}),`\n`,_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`message: str`}),` (read-only):`]}),` Human-readable diagnostic text.`]}),`\n`,_jsx(Heading,{level:`2`,id:`model-files`,children:`Model files`}),`\n`,_jsx(`a`,{id:`modelinvaliderror`}),`\n`,_jsx(`a`,{id:`aic_sdk-ModelInvalidError`}),`\n`,_jsx(Heading,{level:`3`,id:`modelinvaliderror`,children:_jsx(_components.code,{children:`ModelInvalidError`})}),`\n`,_jsx(`a`,{id:`modelinvaliderror-constructor`}),`\n`,_jsx(`a`,{id:`aic_sdk-ModelInvalidError-constructor`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`ModelInvalidError(message: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Cause:`}),` The model file is malformed or incomplete.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Recovery:`}),` Download the model again and verify the local file.`]}),`\n`,_jsx(`a`,{id:`modelinvaliderror-message`}),`\n`,_jsx(`a`,{id:`aic_sdk-ModelInvalidError-message`}),`\n`,_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`message: str`}),` (read-only):`]}),` Human-readable diagnostic text.`]}),`\n`,_jsx(`a`,{id:`modelversionunsupportederror`}),`\n`,_jsx(`a`,{id:`aic_sdk-ModelVersionUnsupportedError`}),`\n`,_jsx(Heading,{level:`3`,id:`modelversionunsupportederror`,children:_jsx(_components.code,{children:`ModelVersionUnsupportedError`})}),`\n`,_jsx(`a`,{id:`modelversionunsupportederror-constructor`}),`\n`,_jsx(`a`,{id:`aic_sdk-ModelVersionUnsupportedError-constructor`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`ModelVersionUnsupportedError(message: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Cause:`}),` The model file format is incompatible with the installed core SDK.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Recovery:`}),` Use `,_jsx(_components.code,{children:`Model.download()`}),` with the installed SDK to select compatible data. Compare `,_jsx(_components.code,{children:`get_compatible_model_version()`}),` when diagnosing a manually supplied file.`]}),`\n`,_jsx(`a`,{id:`modelversionunsupportederror-message`}),`\n`,_jsx(`a`,{id:`aic_sdk-ModelVersionUnsupportedError-message`}),`\n`,_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`message: str`}),` (read-only):`]}),` Human-readable diagnostic text.`]}),`\n`,_jsx(`a`,{id:`modeltypeunsupportederror`}),`\n`,_jsx(`a`,{id:`aic_sdk-ModelTypeUnsupportedError`}),`\n`,_jsx(Heading,{level:`3`,id:`modeltypeunsupportederror`,children:_jsx(_components.code,{children:`ModelTypeUnsupportedError`})}),`\n`,_jsx(`a`,{id:`modeltypeunsupportederror-constructor`}),`\n`,_jsx(`a`,{id:`aic_sdk-ModelTypeUnsupportedError-constructor`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`ModelTypeUnsupportedError(message: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Cause:`}),` The model type does not match the operation.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Recovery:`}),` Use an enhancement model for `,_jsx(_components.code,{children:`Processor`}),`, a dedicated VAD model for `,_jsx(_components.code,{children:`Vad`}),` and a Tyto analysis model for `,_jsx(_components.code,{children:`analyzer_pair`}),` or `,_jsx(_components.code,{children:`FileAnalyzer`}),`.`]}),`\n`,_jsx(`a`,{id:`modeltypeunsupportederror-message`}),`\n`,_jsx(`a`,{id:`aic_sdk-ModelTypeUnsupportedError-message`}),`\n`,_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`message: str`}),` (read-only):`]}),` Human-readable diagnostic text.`]}),`\n`,_jsx(`a`,{id:`modeldataunalignederror`}),`\n`,_jsx(`a`,{id:`aic_sdk-ModelDataUnalignedError`}),`\n`,_jsx(Heading,{level:`3`,id:`modeldataunalignederror`,children:_jsx(_components.code,{children:`ModelDataUnalignedError`})}),`\n`,_jsx(`a`,{id:`modeldataunalignederror-constructor`}),`\n`,_jsx(`a`,{id:`aic_sdk-ModelDataUnalignedError-constructor`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`ModelDataUnalignedError(message: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Cause:`}),` Native model data does not satisfy the required 64-byte alignment.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Recovery:`}),` Python exposes file loading rather than raw buffer loading. Use `,_jsx(_components.code,{children:`Model.from_file()`}),`; report this error with package and platform details if it occurs through that path.`]}),`\n`,_jsx(`a`,{id:`modeldataunalignederror-message`}),`\n`,_jsx(`a`,{id:`aic_sdk-ModelDataUnalignedError-message`}),`\n`,_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`message: str`}),` (read-only):`]}),` Human-readable diagnostic text.`]}),`\n`,_jsx(`a`,{id:`modeldownloaderror`}),`\n`,_jsx(`a`,{id:`aic_sdk-ModelDownloadError`}),`\n`,_jsx(Heading,{level:`3`,id:`modeldownloaderror`,children:_jsx(_components.code,{children:`ModelDownloadError`})}),`\n`,_jsx(`a`,{id:`modeldownloaderror-constructor`}),`\n`,_jsx(`a`,{id:`aic_sdk-ModelDownloadError-constructor`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`ModelDownloadError(message: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, details: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Cause:`}),` Manifest retrieval, model selection, download, verification or writing the destination failed.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Recovery:`}),` Inspect details, check the model ID, network access and destination permissions, then retry the download.`]}),`\n`,_jsx(`a`,{id:`modeldownloaderror-message`}),`\n`,_jsx(`a`,{id:`aic_sdk-ModelDownloadError-message`}),`\n`,_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`message: str`}),` (read-only):`]}),` Human-readable diagnostic text.`]}),`\n`,_jsx(`a`,{id:`modeldownloaderror-details`}),`\n`,_jsx(`a`,{id:`aic_sdk-ModelDownloadError-details`}),`\n`,_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`details: str`}),` (read-only):`]}),` Underlying download failure details.`]}),`\n`,_jsx(`a`,{id:`filesystemerror`}),`\n`,_jsx(`a`,{id:`aic_sdk-FileSystemError`}),`\n`,_jsx(Heading,{level:`3`,id:`filesystemerror`,children:_jsx(_components.code,{children:`FileSystemError`})}),`\n`,_jsx(`a`,{id:`filesystemerror-constructor`}),`\n`,_jsx(`a`,{id:`aic_sdk-FileSystemError-constructor`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`FileSystemError(message: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Cause:`}),` The model file cannot be opened or read.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Recovery:`}),` Check that the path exists, is a model file and is readable.`]}),`\n`,_jsx(`a`,{id:`filesystemerror-message`}),`\n`,_jsx(`a`,{id:`aic_sdk-FileSystemError-message`}),`\n`,_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`message: str`}),` (read-only):`]}),` Human-readable diagnostic text.`]}),`\n`,_jsx(`a`,{id:`filepathinvaliderror`}),`\n`,_jsx(`a`,{id:`aic_sdk-FilePathInvalidError`}),`\n`,_jsx(Heading,{level:`3`,id:`filepathinvaliderror`,children:_jsx(_components.code,{children:`FilePathInvalidError`})}),`\n`,_jsx(`a`,{id:`filepathinvaliderror-constructor`}),`\n`,_jsx(`a`,{id:`aic_sdk-FilePathInvalidError-constructor`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`FilePathInvalidError(message: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Cause:`}),` The native file path is invalid.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Recovery:`}),` Use a valid path without embedded NUL characters. In aic-sdk 3.4.0 a NUL path can escape normal SDK exception conversion; validate it before calling `,_jsx(_components.code,{children:`Model.from_file()`}),`.`]}),`\n`,_jsx(`a`,{id:`filepathinvaliderror-message`}),`\n`,_jsx(`a`,{id:`aic_sdk-FilePathInvalidError-message`}),`\n`,_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`message: str`}),` (read-only):`]}),` Human-readable diagnostic text.`]}),`\n`,_jsx(Heading,{level:`2`,id:`audio-configuration-and-state`,children:`Audio configuration and state`}),`\n`,_jsx(`a`,{id:`audioconfigunsupportederror`}),`\n`,_jsx(`a`,{id:`aic_sdk-AudioConfigUnsupportedError`}),`\n`,_jsx(Heading,{level:`3`,id:`audioconfigunsupportederror`,children:_jsx(_components.code,{children:`AudioConfigUnsupportedError`})}),`\n`,_jsx(`a`,{id:`audioconfigunsupportederror-constructor`}),`\n`,_jsx(`a`,{id:`aic_sdk-AudioConfigUnsupportedError-constructor`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`AudioConfigUnsupportedError(message: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Cause:`}),` The native sample rate or block configuration is unsupported. `,_jsx(_components.code,{children:`FileAnalyzer`}),` also rejects `,_jsx(_components.code,{children:`sample_rate=0`}),` and `,_jsx(_components.code,{children:`step_samples=0`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Recovery:`}),` Start with `,_jsx(_components.code,{children:`ProcessorConfig.optimal(model)`}),`, then initialize. Native input rates are 8,000–192,000 Hz; use a positive block size and a configuration supported by the model.`]}),`\n`,_jsx(`a`,{id:`audioconfigunsupportederror-message`}),`\n`,_jsx(`a`,{id:`aic_sdk-AudioConfigUnsupportedError-message`}),`\n`,_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`message: str`}),` (read-only):`]}),` Human-readable diagnostic text.`]}),`\n`,_jsx(`a`,{id:`audioconfigmismatcherror`}),`\n`,_jsx(`a`,{id:`aic_sdk-AudioConfigMismatchError`}),`\n`,_jsx(Heading,{level:`3`,id:`audioconfigmismatcherror`,children:_jsx(_components.code,{children:`AudioConfigMismatchError`})}),`\n`,_jsx(`a`,{id:`audioconfigmismatcherror-constructor`}),`\n`,_jsx(`a`,{id:`aic_sdk-AudioConfigMismatchError-constructor`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`AudioConfigMismatchError(message: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Cause:`}),` The number of samples differs from the initialized fixed size or exceeds the maximum variable size.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Recovery:`}),` Use exactly `,_jsx(_components.code,{children:`config.block_size`}),` mono samples, or a block of up to that size with `,_jsx(_components.code,{children:`variable_block_size=True`}),`. A wrong dtype or dimension raises Python `,_jsx(_components.code,{children:`TypeError`}),` instead.`]}),`\n`,_jsx(`a`,{id:`audioconfigmismatcherror-message`}),`\n`,_jsx(`a`,{id:`aic_sdk-AudioConfigMismatchError-message`}),`\n`,_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`message: str`}),` (read-only):`]}),` Human-readable diagnostic text.`]}),`\n`,_jsx(`a`,{id:`notinitializederror`}),`\n`,_jsx(`a`,{id:`aic_sdk-NotInitializedError`}),`\n`,_jsx(Heading,{level:`3`,id:`notinitializederror`,children:_jsx(_components.code,{children:`NotInitializedError`})}),`\n`,_jsx(`a`,{id:`notinitializederror-constructor`}),`\n`,_jsx(`a`,{id:`aic_sdk-NotInitializedError-constructor`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`NotInitializedError(message: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Cause:`}),` Processing or buffering was attempted before initialization.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Recovery:`}),` Pass config to the processor or detector constructor, or call `,_jsx(_components.code,{children:`initialize`}),`/`,_jsx(_components.code,{children:`initialize_async`}),`. Initialize the `,_jsx(_components.code,{children:`Collector`}),` before `,_jsx(_components.code,{children:`buffer()`}),`.`]}),`\n`,_jsx(`a`,{id:`notinitializederror-message`}),`\n`,_jsx(`a`,{id:`aic_sdk-NotInitializedError-message`}),`\n`,_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`message: str`}),` (read-only):`]}),` Human-readable diagnostic text.`]}),`\n`,_jsx(`a`,{id:`parameteroutofrangeerror`}),`\n`,_jsx(`a`,{id:`aic_sdk-ParameterOutOfRangeError`}),`\n`,_jsx(Heading,{level:`3`,id:`parameteroutofrangeerror`,children:_jsx(_components.code,{children:`ParameterOutOfRangeError`})}),`\n`,_jsx(`a`,{id:`parameteroutofrangeerror-constructor`}),`\n`,_jsx(`a`,{id:`aic_sdk-ParameterOutOfRangeError-constructor`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`ParameterOutOfRangeError(message: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Cause:`}),` A parameter value lies outside its supported range.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Recovery:`}),` Use the bounds on `,_jsx(_components.code,{children:`ProcessorParameter`}),` or `,_jsx(_components.code,{children:`VadParameter`}),`. Read the current value with `,_jsx(_components.code,{children:`get_parameter()`}),`; do not infer model-specific defaults.`]}),`\n`,_jsx(`a`,{id:`parameteroutofrangeerror-message`}),`\n`,_jsx(`a`,{id:`aic_sdk-ParameterOutOfRangeError-message`}),`\n`,_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`message: str`}),` (read-only):`]}),` Human-readable diagnostic text.`]}),`\n`,_jsx(`a`,{id:`parameterfixederror`}),`\n`,_jsx(`a`,{id:`aic_sdk-ParameterFixedError`}),`\n`,_jsx(Heading,{level:`3`,id:`parameterfixederror`,children:_jsx(_components.code,{children:`ParameterFixedError`})}),`\n`,_jsx(`a`,{id:`parameterfixederror-constructor`}),`\n`,_jsx(`a`,{id:`aic_sdk-ParameterFixedError-constructor`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`ParameterFixedError(message: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Cause:`}),` Compatibility exception retained in the Python public surface. The 3.4.0 error mapper does not emit it.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Recovery:`}),` Keep it only where existing application code requires the type; current parameter validation uses `,_jsx(_components.code,{children:`ParameterOutOfRangeError`}),`.`]}),`\n`,_jsx(`a`,{id:`parameterfixederror-message`}),`\n`,_jsx(`a`,{id:`aic_sdk-ParameterFixedError-message`}),`\n`,_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`message: str`}),` (read-only):`]}),` Human-readable diagnostic text.`]}),`\n`,_jsx(Heading,{level:`2`,id:`internal`,children:`Internal`}),`\n`,_jsx(`a`,{id:`internalerror`}),`\n`,_jsx(`a`,{id:`aic_sdk-InternalError`}),`\n`,_jsx(Heading,{level:`3`,id:`internalerror`,children:_jsx(_components.code,{children:`InternalError`})}),`\n`,_jsx(`a`,{id:`internalerror-constructor`}),`\n`,_jsx(`a`,{id:`aic_sdk-InternalError-constructor`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`InternalError(message: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Cause:`}),` A native internal operation failed. A NUL-containing `,_jsx(_components.code,{children:`OtelConfig.session_id`}),` also maps to this error during processor or detector construction.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Recovery:`}),` First check the supplied session ID. For other failures, retain package/core versions and a minimal reproduction and contact support; omit credentials.`]}),`\n`,_jsx(`a`,{id:`internalerror-message`}),`\n`,_jsx(`a`,{id:`aic_sdk-InternalError-message`}),`\n`,_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`message: str`}),` (read-only):`]}),` Human-readable diagnostic text.`]}),`\n`,_jsx(`a`,{id:`unknownerror`}),`\n`,_jsx(`a`,{id:`aic_sdk-UnknownError`}),`\n`,_jsx(Heading,{level:`3`,id:`unknownerror`,children:_jsx(_components.code,{children:`UnknownError`})}),`\n`,_jsx(`a`,{id:`unknownerror-constructor`}),`\n`,_jsx(`a`,{id:`aic_sdk-UnknownError-constructor`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`UnknownError(message: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, error_code: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`int`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Cause:`}),` The native SDK returned an error code not recognized by this wrapper.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Recovery:`}),` Record `,_jsx(_components.code,{children:`error_code`}),` and package/core versions, then report a minimal reproduction without credentials.`]}),`\n`,_jsx(`a`,{id:`unknownerror-message`}),`\n`,_jsx(`a`,{id:`aic_sdk-UnknownError-message`}),`\n`,_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`message: str`}),` (read-only):`]}),` Human-readable diagnostic text.`]}),`\n`,_jsx(`a`,{id:`unknownerror-error_code`}),`\n`,_jsx(`a`,{id:`aic_sdk-UnknownError-error_code`}),`\n`,_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`error_code: int`}),` (read-only):`]}),` Signed 32-bit native error code.`]}),`\n`,_jsx(Heading,{level:`2`,id:`handling-an-error`,children:`Handling an error`}),`\n`,_jsx(_components.p,{children:`This example exercises a local file error without a model download or SDK credential:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,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:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` pathlib `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Path`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` tempfile `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` TemporaryDirectory`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` aic_sdk `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`as`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` aic`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`with`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` TemporaryDirectory() `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`as`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` directory:`})]}),`\n`,_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:` aic.Model.from_file(Path(directory) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"missing.aicmodel\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\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:` aic.FileSystemError `}),_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:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(error).`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`__name__`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# FileSystemError`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`See the `,_jsx(_components.a,{href:`/reference/sdk/api/python/index`,children:`Python API index`}),` and `,_jsx(_components.a,{href:`/reference/sdk/language-bindings/python`,children:`Python guide`}),`.`]})]})}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":"Python errors","description":"Exception constructors, attributes, causes and recovery for aic-sdk.","href":"/reference/sdk/api/python/errors"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"License and authorization","slug":"license-and-authorization","depth":2,"children":[{"title":"LicenseFormatInvalidError","slug":"licenseformatinvaliderror","depth":3,"children":[]},{"title":"LicenseExpiredError","slug":"licenseexpirederror","depth":3,"children":[]},{"title":"LicenseVersionUnsupportedError","slug":"licenseversionunsupportederror","depth":3,"children":[]},{"title":"TokenUnsupportedError","slug":"tokenunsupportederror","depth":3,"children":[]},{"title":"ProcessingNotAllowedError","slug":"processingnotallowederror","depth":3,"children":[]}]},{"title":"Model files","slug":"model-files","depth":2,"children":[{"title":"ModelInvalidError","slug":"modelinvaliderror","depth":3,"children":[]},{"title":"ModelVersionUnsupportedError","slug":"modelversionunsupportederror","depth":3,"children":[]},{"title":"ModelTypeUnsupportedError","slug":"modeltypeunsupportederror","depth":3,"children":[]},{"title":"ModelDataUnalignedError","slug":"modeldataunalignederror","depth":3,"children":[]},{"title":"ModelDownloadError","slug":"modeldownloaderror","depth":3,"children":[]},{"title":"FileSystemError","slug":"filesystemerror","depth":3,"children":[]},{"title":"FilePathInvalidError","slug":"filepathinvaliderror","depth":3,"children":[]}]},{"title":"Audio configuration and state","slug":"audio-configuration-and-state","depth":2,"children":[{"title":"AudioConfigUnsupportedError","slug":"audioconfigunsupportederror","depth":3,"children":[]},{"title":"AudioConfigMismatchError","slug":"audioconfigmismatcherror","depth":3,"children":[]},{"title":"NotInitializedError","slug":"notinitializederror","depth":3,"children":[]},{"title":"ParameterOutOfRangeError","slug":"parameteroutofrangeerror","depth":3,"children":[]},{"title":"ParameterFixedError","slug":"parameterfixederror","depth":3,"children":[]}]},{"title":"Internal","slug":"internal","depth":2,"children":[{"title":"InternalError","slug":"internalerror","depth":3,"children":[]},{"title":"UnknownError","slug":"unknownerror","depth":3,"children":[]}]},{"title":"Handling an error","slug":"handling-an-error","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"ai-coustics","siteName":"ai-coustics Docs","title":"Python errors - ai-coustics Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-06T12:59:03.173Z","originalFileLocation":"reference/sdk/api/python/errors.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=\"Exception constructors, attributes, causes and recovery for aic-sdk.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ai-coustics Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ai-coustics/q-jz6v9pdza4WsLO/_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/ai-coustics/q-jz6v9pdza4WsLO/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ai-coustics/q-jz6v9pdza4WsLO/_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/ai-coustics/q-jz6v9pdza4WsLO/_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/ai-coustics/q-jz6v9pdza4WsLO/_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/ai-coustics/q-jz6v9pdza4WsLO/_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/ai-coustics/q-jz6v9pdza4WsLO/_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/ai-coustics/q-jz6v9pdza4WsLO/_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/ai-coustics/q-jz6v9pdza4WsLO/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Python errors - ai-coustics Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Exception constructors, attributes, causes and recovery for aic-sdk.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ai-coustics Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.ai-coustics.com/reference/sdk/api/python/errors\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ai-coustics.mintlify.site/_mintlify/api/og/v2?division=Python\u0026amp;title=Python+errors\u0026amp;description=Exception+constructors%2C+attributes%2C+causes+and+recovery+for+aic-sdk.\u0026amp;theme=e0930299b035dc5f296d141a\u0026amp;signature=a35ed5325682616a5dc995e926ee9c9409efab139566bbaa7e7449dc40c5f3c6\">\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=\"Python errors - ai-coustics Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Exception constructors, attributes, causes and recovery for aic-sdk.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ai-coustics.mintlify.site/_mintlify/api/og/v2?division=Python\u0026amp;title=Python+errors\u0026amp;description=Exception+constructors%2C+attributes%2C+causes+and+recovery+for+aic-sdk.\u0026amp;theme=e0930299b035dc5f296d141a\u0026amp;signature=a35ed5325682616a5dc995e926ee9c9409efab139566bbaa7e7449dc40c5f3c6\">\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/ai-coustics/q-jz6v9pdza4WsLO/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ai-coustics Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#006FFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.ai-coustics.com/reference/sdk/api/python/errors\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/reference/sdk/api/python/errors.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.ai-coustics.com/#organization\",\"name\":\"ai-coustics Docs\",\"url\":\"https://docs.ai-coustics.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ai-coustics/TRQ6cYSvxBnlqNAk/logo/light.svg?fit=max\u0026auto=format\u0026n=TRQ6cYSvxBnlqNAk\u0026q=85\u0026s=811a7351a129b8c16831882725fa1e9f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.ai-coustics.com#website\",\"name\":\"ai-coustics Docs\",\"url\":\"https://docs.ai-coustics.com\",\"publisher\":{\"@id\":\"https://docs.ai-coustics.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.ai-coustics.com/reference/sdk/api/python/errors#webpage\",\"url\":\"https://docs.ai-coustics.com/reference/sdk/api/python/errors\",\"name\":\"Python errors\",\"description\":\"Exception constructors, attributes, causes and recovery for aic-sdk.\",\"dateModified\":\"2026-11-06T12:59:03.173Z\",\"isPartOf\":{\"@id\":\"https://docs.ai-coustics.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ai-coustics.com/reference/sdk/api/python/errors#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ai-coustics.com/reference/sdk/api/python/errors#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API reference\",\"item\":\"https://docs.ai-coustics.com/reference/sdk/api/python/index\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python\",\"item\":\"https://docs.ai-coustics.com/reference/sdk/api/python/index\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Python errors\",\"item\":\"https://docs.ai-coustics.com/reference/sdk/api/python/errors\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.ai-coustics.com/reference/sdk/api/python/errors#article\",\"headline\":\"Python errors\",\"name\":\"Python errors\",\"description\":\"Exception constructors, attributes, causes and recovery for aic-sdk.\",\"url\":\"https://docs.ai-coustics.com/reference/sdk/api/python/errors\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ai-coustics.com/reference/sdk/api/python/errors#webpage\"},\"dateModified\":\"2026-11-06T12:59:03.173Z\",\"publisher\":{\"@id\":\"https://docs.ai-coustics.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.ai-coustics.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ai-coustics Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"ai-coustics Docs","nav":{"global":null,"tabs":[{"tab":"Get started","pages":[{"title":"Get started","href":""}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/reference/concepts/audio-format"}]},{"tab":"Models","pages":[{"title":"Models","href":"/reference/sdk/models"}]},{"tab":"Reference","groups":[{"group":"SDK","pages":[{"title":"Language bindings","href":"/reference/sdk/language-bindings"},{"title":"Examples","href":"/reference/sdk/examples"},{"title":"Compatibility matrix","href":"/reference/sdk/compatibility-matrix"}]},{"group":"API reference","pages":[{"group":"Python","pages":[{"title":"Python API reference","href":"/reference/sdk/api/python/index"},{"title":"Python models and configuration","sidebarTitle":"Models and configuration","href":"/reference/sdk/api/python/models-and-config"},{"title":"Python enhancement","sidebarTitle":"Enhancement","href":"/reference/sdk/api/python/enhancement"},{"title":"Python voice activity detection","sidebarTitle":"VAD","href":"/reference/sdk/api/python/vad"},{"title":"Python audio analysis","sidebarTitle":"Audio analysis","description":"Python reference for `analyzer_pair`, `Collector`, `Analyzer`, `FileAnalyzer` and `AnalysisResult` in aic-sdk.","href":"/reference/sdk/api/python/analysis"},{"title":"Python errors","href":"/reference/sdk/api/python/errors"}]},{"group":"Node.js","pages":[{"title":"Node.js API reference","description":"Complete reference for the released Node.js SDK, including methods, parameters, errors and ownership.","href":"/reference/sdk/api/node/index"},{"title":"Node.js models and configuration","href":"/reference/sdk/api/node/models-and-config"},{"title":"Node.js enhancement API","href":"/reference/sdk/api/node/enhancement"},{"title":"Node.js VAD API","href":"/reference/sdk/api/node/vad"},{"title":"Node.js analysis API","href":"/reference/sdk/api/node/analysis"},{"title":"Node.js errors","href":"/reference/sdk/api/node/errors"}]},{"group":"C","pages":[{"title":"C API reference","href":"/reference/sdk/api/c/index"},{"title":"C models and configuration","href":"/reference/sdk/api/c/models-and-config"},{"title":"C enhancement and processor control","href":"/reference/sdk/api/c/processing"},{"title":"C voice activity detection","href":"/reference/sdk/api/c/vad"},{"title":"C audio analysis","href":"/reference/sdk/api/c/analysis"},{"title":"C errors and types","href":"/reference/sdk/api/c/errors-and-types"}]},{"group":"C++","pages":[{"title":"C++ API reference","href":"/reference/sdk/api/cpp/index"},{"title":"C++ models and configuration","href":"/reference/sdk/api/cpp/models-and-config"},{"title":"C++ enhancement and processor control","href":"/reference/sdk/api/cpp/processing"},{"title":"C++ voice activity detection","href":"/reference/sdk/api/cpp/vad"},{"title":"C++ audio analysis","href":"/reference/sdk/api/cpp/analysis"},{"title":"C++ results and errors","href":"/reference/sdk/api/cpp/results-and-errors"}]},{"group":"Rust","pages":[{"title":"Rust API reference","href":"/reference/sdk/api/rust/index"},{"title":"Rust models and configuration","href":"/reference/sdk/api/rust/models-and-config"},{"title":"Rust enhancement","href":"/reference/sdk/api/rust/enhancement"},{"title":"Rust voice activity detection","href":"/reference/sdk/api/rust/vad"},{"title":"Rust audio analysis","href":"/reference/sdk/api/rust/analysis"},{"title":"Rust errors and features","href":"/reference/sdk/api/rust/errors-and-features"}]},{"group":"WebAssembly","pages":[{"title":"WebAssembly API reference","href":"/reference/sdk/api/wasm/index"},{"title":"WebAssembly initialization and lifecycle","href":"/reference/sdk/api/wasm/initialization"},{"title":"WebAssembly model API","href":"/reference/sdk/api/wasm/models-and-config"},{"title":"WebAssembly enhancement API","href":"/reference/sdk/api/wasm/enhancement"},{"title":"WebAssembly VAD API","href":"/reference/sdk/api/wasm/vad"},{"title":"WebAssembly analysis API","href":"/reference/sdk/api/wasm/analysis"},{"title":"WebAssembly errors","href":"/reference/sdk/api/wasm/errors"}]}]},{"group":"Upgrades","pages":[{"title":"SDK and model versions","href":"/reference/sdk/upgrading"}]},{"group":"LiveKit","pages":[{"title":"Which LiveKit plugin to use","sidebarTitle":"Plugin scope","href":"/reference/livekit/plugin-scope"},{"title":"Migrate from livekit-plugins to livekit-extras","sidebarTitle":"Migrate to livekit-extras","href":"/reference/livekit/migrate-to-livekit-extras"}]},{"group":"AI tools","pages":[{"title":"MCP server and text export","href":"/reference/agents/mcp-server"}]},{"group":"Historical migrations","pages":[{"title":"Migrate to Mono Processing","sidebarTitle":"Multi-channel to mono","href":"/reference/deprecated/multi-channel-to-mono"},{"title":"Migrate to the Dedicated VAD","sidebarTitle":"Energy-based VAD to VAD","href":"/reference/deprecated/energy-vad-to-dedicated-vad"},{"title":"Migrate Python SDK 2.5 to 3.0","sidebarTitle":"Python SDK 2.5 to 3.0","href":"/reference/deprecated/python-2-5-to-3-0"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Python errors - ai-coustics Docs","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["10e4515597"],"chunks":["BannerMarkdown-BcDCEkh6.js","dist-CwjSCXIK.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","clsx-eKJ4rcii.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js"]}