Clearing Cache Page Returns To 502 Bad Gateway Nginx

Hello,

Clearing Cache page returns to 502 Bad Gateway nginx 502 bad error

Any help from experts ? As the only page that return this error is when i clear cache it returns to this error!