Context
My app uses OpenAI to generate responses using an input the user fills out on the front-end of the app. The workflow looks something like this:
- OpenAI chat completion (with inputs from user)
- Iterator (for loop)
- Supabase: Insert (within the iterator)
3.a. For each response from OpenAI (can generate multiple responses at once), create a new table record
This has been working fine until late last week (I think up until the most recent WeWeb UI update? The update that made the editor panel on the right a more uniform charcoal grey).
Issue
While going through the workflow, everything is fine until I get to the Supabase: Insert workflow action. The preceding chat completion and iterator actions do what they are supposed to. I’ve been receiving this error message
invalid input syntax for type uuid: “”
I interpret this to mean that the data being fed to Supabase from WeWeb for the primary key field (‘id’) is a text value instead of whatever supabase uses for uuid fields. However, in the Insert workflow action in WeWeb, the ‘id’ field is left blank, with the placeholder text ‘gen_random_uuid()’.
Has anyone else experienced this issue recently?