better error reporting on ckan inconstitency