Add more debug info for invalid responses