balena-io-experimental / meetbot

A Google Meet bot to make meetings frictionless
GNU Affero General Public License v3.0
32 stars 13 forks source link

Voice transcript broken due to Caption Settings cog #71

Closed vipulgupta2048 closed 2 years ago

vipulgupta2048 commented 2 years ago

Screenshot from 2022-02-07 12-55-27

Google Meet has implemented this settings tab in the closed captions that is breaking the Google Doc feature with the following error. We probably need the stenographer to ignore this settings tab and keep sending out caption events properly.

(node:68795) UnhandledPromiseRejectionWarning: Error: Invalid requests[0].insertInlineImage: The URL should not be empty.
    at Gaxios._request (/home/vipulgupta2048/work/voicebot/node_modules/gaxios/build/src/gaxios.js:129:23)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async OAuth2Client.requestAsync (/home/vipulgupta2048/work/voicebot/node_modules/google-auth-library/build/src/auth/oauth2client.js:368:18)

When this error occurs, here's what we see in the Google Docs https://docs.google.com/document/d/1AA01PnHlW4QjzwtOClqZSsJdiA0Vo05A9ytOkWIxJVQ/edit?pli=1

20k-ultra commented 2 years ago

nice issue! screenshot and stack track log