check for errors from server before responding to challenge