Leaving the tag name blank in /addorUpdateContact was creating a tag with no name. This was causing the directory page to crash. This issue has been fixed now.