I’m getting this error:
code: 4002
message: "Unable to search/add geo points. Invalid coordinates."
…when i’m trying to save data object which contains this property:
location: {
___class: "GeoPoint",
categories: ["ComplexGeoPoint"],
latitude: 59.9003,
longitude: 30.3724
}
What am i doing wrong?
Hi Anton!
Please try again with this example:
curl -X POST -H 'application-id : xxx' -H 'secret-key : xxx' -H 'Content-type : application/json' https://api.backendless.com/v1/data/PhoneBook -d '{"location":{"___class":"GeoPoint", "categories": ["ComplexGeoPoint"], "latitude": 59.9003, "longitude": 30.3724}}'
Regards,
Kate.