Cloudflare API 504 Error when Transfering in Domain

Replicate it with the Network tab in DevTools (F12) open & see if there’s anything in the response body of the 504’s that might give you an actual error code or message.