Add errors for invalid databases