Point must only contain numeric elements - GraphQL mongoose

(Technology: graphql, mongoose, nodejs)

I am using graphql-geojson-scalar-types package, and when I tried to insert a new Point its work and save it in the mongoodb.

But when I tried to insert a Polygon or LineString, I god the error of "Point must only contain numeric elements "

Thanks,