voice_sample_invalid_audio
POST /v1/voice-profiles/{id}/sample-recording (or consent upload): the file cannot be used - not decodable, wrong container, not 16-bit PCM mono WAV, under 6 s, over 90 s, or below 16 kHz. detail names the exact defect; nothing was stored.
Problem shape
Every non-2xx response is an RFC 9457 application/problem+json body. The type URI below is stable and machine-matchable, so branch on the final path segment (the code) and treat the status as redundant confirmation. See the error-handling guide.
{
"type": "https://docs.vocapable.com/errors/voice_sample_invalid_audio",
"title": "…",
"status": 422,
"detail": "…",
"instance": "/v1/…"
}