if i take square root of both sides of the equation then the z cancel each other:
$ \sqrt[3] {(z+1)^3 }=\sqrt[3]{z^3} $
$ z+1 =z $
$ z-z+1=0$
$ 1=0 $
I thought this complex equation had no solution but it has if expand the binomial instead of taking the cube root:
$ \sqrt[3] {(z+1)^3} =\sqrt[3]{z^3} $
$ z^3+3z^2+3z+1=z^3 $
$z^3-z^3+3z^2+3z+1=0$
$3z^2+3z+1=0$
which gives us two diferent results:
$-\frac{1}{6}i(\sqrt3-3i)$ and $\frac{1}{6}i(\sqrt3+3i)$
i also checked in wolfram alpha and it seems like i did no mistake. those are the result obtained with each method
1)https://www.wolframalpha.com/input/?i=cuberoot%28%28z-1%29%5E3%29%3Dcuberoot%28z%5E3%29 2) https://www.wolframalpha.com/input/?i=%28z%2B1%29%5E3%3Dz%5E3
In what cases is not correct to take cube root of both sides? i understand that this could be a problem with cube root because the square its not reversible but this is a cuberoot.


You can take cube roots, provided you take into account the fact that you're allowing for complex solutions.
$x^3 = 1$ has three solutions in $\mathbb C$, $x = 1, \omega, \omega^2$. These are called the three complex cube roots of unity. The latter two are non-real conjugate roots, equal to $-\frac 12 \pm i\frac {\sqrt 3} {2}$.
Taking the cube roots, we have $z+1 = z$ which does not give any solutions, or $z+1 = \omega z \implies z = \frac 1{\omega-1}$ or $z+1 = \omega^2 z \implies z = \frac 1{\omega^2-1}$ which will give you the two non-real complex conjugate roots you're looking for.
Alternatively, you could group and factor or expand to solve the resulting quadratic and get the same two complex conjugate roots.