Prevent null parameter name or value to crash the request