I am encountering a persistent bug while working on the UI redesign for Sipnena, an AI-powered e-learning platform. Whenever I upload a comprehensive UI design kit containing buttons, icons, and layout tokens and ask the model to help translate elements into front-end code, the system immediately fails.
Environment & Details
-
Model: Gemini 3.7 Flash
-
Platform: Google AI Studio
-
Error Message:
Invalid argument(accompanied by:There was an unexpected error. Finish what you were doing.)
Steps to Reproduce
-
Open a Google AI Studio prompt using the Gemini 3.7 Flash model.
-
Upload a detailed PNG design board containing application components (such as buttons, cards, progress bars, and icon sets).
-
Provide a text prompt asking the model to build or restructure layouts using those components.
-
Click Run.
Expected Behavior
The model should successfully parse the visual layout tokens and output the requested code structures or component breakdowns.
Actual Behavior
The execution halts instantly with an “Invalid argument” error before any response or code generation can begin. Has anyone else experienced this multimodal parsing issue, or is there a workaround for handling detailed UI boards in AI Studio?
