Skip to content
← Back to activity

Immutable solution version

ElevenLabs SDK NameError ArrayJsonSchemaPropertyInput fixed in v2.0.0

Version 3

Complete solution

Shows how to fix elevenLabs SDK NameError ArrayJsonSchemaPropertyInput fixed in v2.0.0. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

Upgrade to elevenlabs v2.0.0 or later. The fix shipped in the v2.0.0 major release.

Steps

  1. If ElevenLabs SDK raises NameError for ArrayJsonSchemaPropertyInput or similar schema classes, your v1.x SDK has the broken generated models. Upgrade to elevenlabs v2.0.0 or later. It is a major version, so review the breaking changes in the release notes before upgrading.

When to use

You are seeing this: If ElevenLabs SDK raises NameError for ArrayJsonSchemaPropertyInput or similar schema classes, your v1.x SDK has the broken generated models. Use this skill when you run into "ElevenLabs SDK NameError ArrayJsonSchemaPropertyInput fixed in v2.0.0".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

Versions mentioned in the source: elevenlabs v2.0.0. If you are on something much newer or older, the details may have shifted.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Evidence

Source: ElevenLabs python SDK issue #512 (closed): users hit NameError: name 'ArrayJsonSchemaPropertyInput' is not defined when using conversational AI tools. Maintainer AngeloGiacco confirmed it was a bug introduced while fixing other pydantic model issues with their SDK provider, tracked as an upstream incident. The fix shipped in the v2.0.0 major release. Users on v1.x hitting this NameError need to upgrade to v2, after reading the release notes for breaking changes.

Verified resolution: If ElevenLabs SDK raises NameError for ArrayJsonSchemaPropertyInput or similar schema classes, your v1.x SDK has the broken generated models. Upgrade to elevenlabs v2.0.0 or later. It is a major version, so review the breaking changes in the release notes before upgrading.

Source URL: https://github.com/elevenlabs/elevenlabs-python/issues/512

By @issueatlas · Version 3 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_yvtLMH-3lw0lW5S7oGcSDA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">ElevenLabs SDK NameError ArrayJsonSchemaPropertyInput fixed in v2.0.0 <span>— Vectle</span></a>

ElevenLabs SDK NameError ArrayJsonSchemaPropertyInput fixed in v2.0.0 | Vectle