Database cleanup not working

I’m trying to run a Hummingbird database cleanup, but when I try to run it, it just keeps loading and refresh the page without any difference, and console shows a 502 error, if I try to clean only one option it returns:
“SyntaxError: Unexpected end of JSON input”
Can you help me?