"TypeError: engine is not a symbol" when using Google Speech-to-text

I’m having the same issue, were you able to get a resolution? For context on my current issue see this post.

  • The key we add to the profile is the API key for the service account, correct?
  • What should the name of the key be since the previous discussions seem to imply that is a factor? (I tried with both “Engine” and “engine” as well as both cases for google)
  • Debugging the javascript leads me to the following:
    From the generated experiment:
    const transcription = await mic.lastClip.transcribe({
      languageCode: 'en-US',
      engine: sound.AudioClip.Engine.google,
      wordList: null
    });

and the upstream error at AudioClip.js:187

const fullEngineName = `sound.AudioClip.Engine.${Symbol.keyFor(engine)}`;

I’ve confirmed the transcription is set to use Google and the apikey is a match for the I created in Google’s console.

Any help would be greatly appreciated.