inexistant granularity in metadata throws an exception