Cloudflare caused lookback fail to run and Rest API error

How can I do that?
Also about other rules, do i need to apply same thing?
I am also getting 502 error from cloudflare.