Worker modify response http

Hi .
I want to modify origin server response 503 error to custom page iva worker then when I refer to this url ( https://developers.cloudflare.com/workers/templates/pages/modify_res_props/ ) does not work .

The problem was resolve . thanks