Error when meshing simple retangular cube

You don’t need to define a box as a geometry, just use the regular region, which is rectangular.