Edge vs. Origin Status Code


I’m attempting to investigate sporadic 5xx status codes we’ve been receiving (specifically 503 and 504).

One thing I quickly noticed was that the frequency of 5xx differed between the edge status code and the origin status code (more 5xx w/i edge).

Does the edge status code not simply mirror what origin returns? What reason would edge return an 5xx if origin returned a proper response?



I see here that only error codes originating from origin are counted w/i the analytics.

That makes me think that that should the metric I should be looking at (vs. edge status codes).

Anyone able to help?