AI with Google started erroring with undefined Headers

,
  • Goal: Trying to set up an AI Action step in a Workflow, using Google Gemini as the provider. It worked up until a few days ago (not sure when I last saw it working) - but today every time I try to trigger a Google AI action - I get the same error: Headers is not defined

  • Steps: I tried re-setting the Retool AI configuration, changing the key, headers, and endpoint - and just triggering it from a new step - nothing worked.

I am not attaching any code pieces or the app json since it's irrelevant - any action with google AI simply doesnt work.

Anyone also encountered this issue / any ideas how to resolve it?

1 Like

@Shai-D Thanks for flagging this. The team is aware of the issue, and we’re working on a fix. We’ll update you as soon as it’s resolved—appreciate your patience!

@Shai-D We’ve released a fix for this issue. Could you please give it a try and let us know if it resolves the problem on your end?