Sudden API Request Failed: GET /api/v4/accounts/pages/projects/page=1&per_page=5 (504) error

Ok, I was viewing my Cloudflare dashboard (pages) and suddenly got an “API Request Failed” with a 504 error!

I only got the error once, but want to know why it occurred in the first place? Additionally, I wish to know if this is normal from time to time?