Hey there,
An HTTP Error 524 indicates a timeout after establishing a TCP connection and waiting for a response from your origin.
If your origin server does not return any data after 100 seconds, we will close the connection and serve a 524 error. This can happen if your server is simply taking too long because it has too much work to do - e.g. a large data query, or because the server is struggling for resources and cannot return any data in time. We recommend that you implement status polling of large HTTP processes to avoid hitting this error.
Please have a look through this documentation here to correct 524 errors: Community Tip - Fixing Error 524: A timeout occurred
Thanks