When trying to use the recording function for my app, alwasys got “A live connection error occurred during recording. Please try again.”
Code assistant replied “I’ve pinpointed a likely cause in the configuration for the Gemini Live API. It seems a required parameter, responseModalities, was missing, which can cause connection failures.
've updated the code to include this parameter, which should resolve the issue and allow you to record your dreams using your voice again. Here are the changes: components/DreamRecorder.tsx”
But when trying to record again, got “Your dream description is too short. Please add more details for analysis.”
But my recording is “睡夢中有漂浮的感覺,失去重力並可以隨著意念飛起來,令你感覺很興奮,也許你會像超人一般飛翔,也許是你在乘搭飛機或其他飛行工具。” more than 50 characters.
Hi @MubieSam
Thank you for reporting this issue! Can you please provide the exact prompt or text you used while creating the app to reproduce this error? This will help us investigate further.
Hi @Pooja_Kapse
Here it is.
Create a multi-modal Dream Journal with multilingual support (English and Traditional Chinese). I want to be able to voice-record my dream immediately upon waking while it’s fresh. The AI should transcribe it, then generate a surrealist image representing the core emotional theme of the dream. Below the image, provide a structured psychological interpretation based on recognized archetypes (e.g., Jungian), and give me a chat interface to ask follow-up questions about specific symbols that appeared in the dream.
Hi @MubieSam,
Thank you for providing the prompt. I was not able to reproduce the error on my end using the details you provided.
Please try creating the app again using the newer Gemini models available in Build Mode, as this should resolve the validation issues. Please let me know if you are still facing the same issue.