I saw a video about common mistakes about ghusl Is that we forgot to do intention when washing sides of our body. Is it wajib to do intention when washing the sides of the body? Is my ghusl invalid because I did not do Intention due to ignorance?

It’s important you do the intention when performing the Ghusl.
However your Ghusl is not invalid due to ignorance or forgetfulness