Lead Name Creation Issue while creating through an API, else it works fine

Lead Behaves for new_doc and get_doc differently