apid_count error