Hi, i always get an 504 in the console when using 4ai, i tried with gtp4 and 3.5. When i click on the link that throws the error in the console i can see that the answer from chatgpt is already there, but will not show up in the tool.
What can i do?
The holiday season is with us and we'll be off from December 25, 2025 and back on January 5nd, 2026.
Don't forget to look up the documentation, including the videos, your answer may already be there! Likewise, be sure to check the Development versions area, in case your problem may already have been solved.
In case of emergency (ie your site is down with a fatal error directly linked to one of our extensions), please contact us by email (see contact icon at the bottom of all pages of this site).
All the best to your and your family! See you around in 2026!
Hi, i always get an 504 in the console when using 4ai, i tried with gtp4 and 3.5. When i click on the link that throws the error in the console i can see that the answer from chatgpt is already there, but will not show up in the tool.
What can i do?
Hi
That error is a timeout. It means that your server (or maybe Cloudflare?) is stopping the request after some time but it's too early and the OpenAI API has not responded yet to your question.
Things to consider:
- OpenAI API can be quite slow at times, so it may be a matter of just trying at another time.
- after how much time does the error happens? depending on what you are doing, your server should allow 60 seconds or better: 90 seconds for the response to come in
- GPT4 is going to be much slower than GPT 3.5, so if you ask 4AI to work on a long text (ie spell, translate or create a full blog post), then it's best to try with GPT 3.5 first.
But again, the simplest thing is normally to configure your server to allow a longer response time, so that OpenAI has enough time to respond.
Best regards
Yannick Gaultier
weeblr.com / @weeblr