Be sure to emit an error when a dict is required but not provided (zlib)