A
A
Anton Ulanov2016-03-03 23:29:39
MongoDB
Anton Ulanov, 2016-03-03 23:29:39

What is the cause of the MongoDB error?

Good time of the day. Help to understand the cause of the error.
GET request to add record throws an error

Parsed data:[object Object]Error:ValidationError: CastError: Cast to Array failed for value "12.11," at path "loc.coordinates"

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Yarkov, 2016-03-03
@antonsr98

We are waiting for Array, and float comes. Weird mistake, right?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question