Added explicit error response in case of a period in metadata key name.