Hi,
I couldnt find this anywhere, but is there an example POST request of an object that contains the Location type.
Preferably the GEO, for example, i am trying in my post request:
field: location.geo
value: [-0.2241442,51.4939545]
The response i get back is:
"number Cast to number failed for value [-0.2241442,51.4939545] at path location.geo"
This says to me that the location is trying to convert the array into a number, but surely its expecting two numbers? lat and long.
Hi, I couldnt find this anywhere, but is there an example POST request of an object that contains the Location type. Preferably the GEO, for example, i am trying in my post request: field: location.geo value: [-0.2241442,51.4939545]
The response i get back is:
"number Cast to number failed for value [-0.2241442,51.4939545] at path location.geo"
This says to me that the location is trying to convert the array into a number, but surely its expecting two numbers? lat and long.