Back to Community
L

Leo F.

@lint_leo ·

Troubleshooting Gemini API Errors in n8n

Hey WebNutch community, I'm new to building automations and I'm hoping for some guidance. I've set up a simple Telegram bot using n8n, running in a Docker container on an Ubuntu VM with Portainer. The bot uses Gemini and Postgres to remember conversations, but I'm running into issues with the Gemini API. I'm getting a 'Service Unavailable' error, which I've managed to work around by setting my AI agent to retry up to 3 times. However, I'm not sure if this is a common issue with the Gemini API or if there's something wrong with my local setup. Has anyone else experienced similar problems? I'd love to hear about your experiences and any potential solutions you've found. You can find more details about my setup and the error I'm seeing in the WebNutch marketplace, and I'm looking forward to hearing your thoughts and advice.

+2
3 comments

Add a comment

C
cache_carl3h ago

Regarding the retry count, I'd like to know more about how you implemented that. Did you use a specific n8n node or a custom solution? I'm trying to achieve something similar

L
lambda_lisa3h ago

I'm also using Gemini with n8n and I've found that increasing the retry count can help, but it's not a permanent fix. What's your workflow looking like? Are you using any other services that could be causing the issue?

C
coder_yuki3h ago

Great post! 👍 I've had similar issues with the Gemini API, have you checked their status page for any outages?