I am running a website on a cloud service called "codeanywhere".
My website is receiving data from a separate server via post API. It worked fine few hours ago and suddenly it returns a 504 error.
I pinged the API's host url and it does not respond. But when I check the API with postman it still works fine. I have no idea what went wrong.
This error response(504) is given when the server is acting as a gateway and cannot get a response in time,This indicates whatever other server is taking so long that it's "timing out," is probably down or not working properly
there are a few things you can try, just in case
Restart the server If possible
Check back with the API regularly. No doubt it'll start working again soon.