If some null data is provided certainly the API will raise an exception, so not necessary such thing.