cesium issue

I am using the following code to create a polyline in my ReactJs app. I am getting “DeveloperError: Expected value to be greater than or equal to0.0125, the actual value was 0” error message. Can someone please explain to me why am I getting this error, thanks in advance

var redLine = viewer.entities.add({

name: “Red line on terrain”,

polyline: {

    positions: Cesium.Cartesian3.fromDegreesArray([180,90, 180, -90]),
    width: 5,
    material: Cesium.Color.RED,
  },
});
···

Best Regards,
Zeinab Samir
Web Developer

CÆLUM Middle East LLC
A company of the G2K Group
20 Wezaret Al Zeraa Street
Rageh Tower, Dokki, Giza, Egypt

Tel: +20 22 7370 588
Fax: +20 22 7370 588
Mob: +20 1064271205
Email: zeinab.samir@g2k-group.com
Website: www.g2k-group.com