I’m getting this message:
Bad request - please check your parameters
Invalid ‘tools[0].function.name’: string does not match pattern. Expected a string that matches the pattern ‘[1]+$’.
I’m using openai (or anthropic) as the chat model and all I did was connect a google mail module to the AI Agent. If I create the scenario with a “google calendar”, it works fine. Also, if i connect a “read emails” module, no problems. Only as I connect a “send emails” module, it stops working. It somehow gets so messed up, that I have to delete the AI Agent and start over.
Thanks for posting here and welcome to the community!
Could you please share your workflow? This would to debug by seeing your current configuration.
Tip for sharing your workflow in the forum
Pasting your n8n workflow
Ensure to copy your n8n workflow and paste it in the code block, that is in between the pairs of triple backticks, which also could be achieved by clicking </> (preformatted text) in the editor and pasting in your workflow.
```
<your workflow>
```
Make sure that you’ve removed any sensitive information from your workflow and include dummy data or pinned data as much as you can!