7770c543fa
The API returns its result inside a JSON array (e.g. "[1008]" for an error, "[100002656565]" for a delivered message id). The previous parser matched the raw string against the error map, so any array-wrapped error slipped through as a false success and the caller got 201 with no SMS sent. Unwrap the array (or bare/quoted value) before the error lookup. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>