freenas-proxmox/perl5/PVE
Kevin Adams 7a66e59dc7 fix: surface Pydantic array validation errors from SCALE 25.04+ API
SCALE 25.04 returns validation errors as a JSON array rather than a
{message: "..."} hash. The error detail was silently lost, making 4xx
failures appear as bare status lines in logs. Now handles both formats.

Prompted by a transient 422 on /iscsi/target during first-run testing
on SCALE 25.04 — root cause was iSCSI service mid-reload, not a format
incompatibility. Plugin is compatible with SCALE 25.04 as-is.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-26 21:12:44 -04:00
..
Storage/Custom fix: surface Pydantic array validation errors from SCALE 25.04+ API 2026-05-26 21:12:44 -04:00