Creating a batch of Contact objects should not fail if some of the given IDs or handles are invalid (falling back to making one extra D-Bus call per ID or handle, if the D-Bus API makes this necessary). telepathy-glib has appropriate logic which can be adapted.
Fixed in 0.1.3
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.