Example (scaling Cauchy distribution has the same moment generating function)

Take $X$ be Cauchy. Then $$ \begin{align*} M_X(\lambda) = M_{2X}(\lambda) = \begin{cases} 1, &\lambda=0 \\ \infty, &\text{otherwise}. \end{cases} \end{align*} $$ So we need the condition that $M_X(\lambda) < \infty$ for some $\lambda\neq 0$.