Request failed with status code 504

I have set up OpenAI Assistant on the website WIX.com .
The request often gets a response.: Request failed with status code 504.
Why is this happening?
Help me solve this problem.
Setting the timeout to 5000 did not solve the problem.

I need a few more details about your implementation to help.

Is this a integration or are you manually fetching the data from an OpenAI API?