Error: 'Invalid Retool AI action' when trying to make an OpenAI API call

  1. My goal: use a query based on the OpenAI API resource
  2. Issue: all queries and workflows using OpenAI API return an error “error:"Invalid Retool AI action. Please choose a valid action."“, since 29/10/2025.
  3. Steps I've taken to troubleshoot:
  • I’ve tried to re-create a new OpenAI API resource from scratch
  • I verified the API key
  • I’ve noticed that when selecting the Request Body type chat/completions it shows a POST request during selection, but after being selected it becomes GET - I’m wondering if it might be related.
  1. Additional info: cloud
    Screenshots of the POST/GET:

    POST during the request selection

    GET after selection:

Hi @DmitryK -

Thanks for reporting this. We are aware of the issue and are currently investigating it.

You can stay updated here: https://status.retool.com/

1 Like

Yup, I was going to flag the same thing. I have a workflow that has failed around 30 times in the past hour or so because of a block of open ai within it that's failing with the same error.

Hey yall -

We shipped a fix for this, so everything should be hunky dory again with the OpenAI integration. Thanks for your patience!

:pray:

2 Likes