I am facing a weird issue of sitecore forms returning 504 Gateway timeout error sometimes when the form is submitted. Please note that I do not receive the error everytime. Kindly see the below image.
Once the gateway error comes, then I need to republish the form,enter new data in firstname, last name field and email to make it work... else the error persists.
Not sure if this is a server response issue, or there is something in the form which is taking too much of time(but if this is the case it should not work everytime)..
Kindly let me know if anybody else has faced this issue.