model raises an error on sync with no colleciton, or an invalid collection