Hi, I am consistently hitting an HTML 500 Internal Server Error when calling retellClient.voice.clone. Since it's returning HTML, I can't see the internal trace.
Code Context:
> const voiceResponse = await retellClient.voice.clone({
> voice_name: 'new_voice',
> voice_provider: 'platform',
> files: [fs.createReadStream('./sample.mp3')],
> });
Additionaly, I have also tried :
- Switched from fs.createReadStream to openAsBlob (Node 20+) to ensure MIME types are included.
- Verified the file is under 10MB and is a standard .mp3.
- Tested other endpoints (like listVoices) which work fine with the same API key.
- Tried wrapping the file in a File object with an explicit type: 'audio/mpeg'.
Any guidance on why the server might be throwing a 500 (that too in HTML) here would be greatly appreciated!