The AFIP query site is currently broken. They did a full website update a few weeks ago which left the search script non-functional and they haven't bothered to fix it. Despite my hounding.