console log out response if badly formatted