Add more debug info for invalid requests