HeyPuter/puter · error · HttpError
field_required
field_required
Error message
Missing required field: text
What it means
Error "Missing required field: text" thrown in HeyPuter/puter.
Source
Thrown at src/backend/drivers/ai-tts/providers/speechify/SpeechifyTTSProvider.ts:125
async synthesize(
args: ISynthesizeArgs,
): Promise<DriverStreamResult | { url: string; content_type: string }> {
const {
text,
voice: voiceArg,
model: modelArg,
response_format,
output_format,
test_mode,
} = args;
if (test_mode) {
return { url: SAMPLE_AUDIO_URL, content_type: 'audio' };
}
if (typeof text !== 'string' || !text.trim()) {
throw new HttpError(400, 'Missing required field: text', {
legacyCode: 'field_required',
fields: { key: 'text' },
});
}
const model = modelArg || DEFAULT_MODEL;
if (!SPEECHIFY_TTS_MODELS.find(({ id }) => id === model)) {
throw new HttpError(
400,
`Invalid model: ${model}. Expected: ${SPEECHIFY_TTS_MODELS.map(({ id }) => id).join(', ')}`,
{
legacyCode: 'field_invalid',
fields: {
key: 'model',
expected: SPEECHIFY_TTS_MODELS.map(({ id }) => id).join(
', ',
),
got: model,View on GitHub (pinned to 908ec23eda)
Solutions
- Pass a non-empty `text` field in the request body.
- Verify the request payload includes `text` before calling the TTS driver.
When it happens
Trigger: Thrown at src/backend/drivers/ai-tts/providers/speechify/SpeechifyTTSProvider.ts:125 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of HeyPuter/puter@908ec23eda (2026-08-12).
Data as JSON: /api/errors/5fa8761e47e439fe.
Report an issue: GitHub.