Database Server Error 502 even after successful query

We need to see the error message, the error code (502) isn’t enough