Added errors in case of wrong MetaData or wrong Chunk Data