vonage-node-sdk icon indicating copy to clipboard operation
vonage-node-sdk copied to clipboard

[Bug]: voice.playTTS: TypeError: instanceof called on an object with an invalid prototype property.

Open tapz opened this issue 1 year ago • 0 comments

Node Version

20.x

Platform

Docker Container

SDK Version

3.13.0

Code Sample

await vonage.voice.playTTS(
      callId,
      {
        action: 'talk',
        'Hello',
        'fi-FI',
        style: 0,
        loop: 1,
        premium: true
      }
    );

Expected Behavior

Talks to the call

Actual Behavior

TypeError: instanceof called on an object with an invalid prototype property.
    at <anonymous> (/home/node_modules/@vonage/server-client/dist/client.js:225:20)
    at processTicksAndRejections (:12:39)

tapz avatar Apr 17 '24 09:04 tapz