Need help on rs.AddBox command

rs.AddBox function using python rhino script is not working .An error stating " unable to create brep from box " is seen.
image

image
The points are seen but the box isnt happening. The box had initially happened , later it is showing the error.

Hence , please. help me create the box using the points.

Thanks in advance

Do you have some code you can post?

The function uses 8 corner points which need to be defined in a specific order, starting at the “lower left corner” and proceeding counterclockwise around the base rectangle - indices 0,1,2 and 3 - then the “upper left corner” and counterclockwise around the top for indices 4,5,6 and 7.

Is it possible that the corner points you are using or the order in which you are inputting them would create an invalid box?