Gateway time-out Error Core 504

Hello there, 

Our development team is currently getting 504 error while making an API calls. Is there any solution to this? I

Regards