Making mistake in the makhraj of the namaz , make it invalid?
Or it’s okay, namaz is correct?

If you know how to pronounce Arabic makhraj, and wile namaz if you do mistake, correct it straightway.