Can't save location when posting node through services module I am using services module to post nodes using rest/json. The nodes also contain images and location. So far I can upload the image and save the node, but the location is not saved. I receive no errors in logs.

Any ideas? Is there something I have to add,maybe permissions, in order to be saved?

This is the json that creates the article but doens not save the location.

{
    "title": "some title",
    "type": "article",
    "language": "el",
    "body" : {
          "und": [
              {
                  "value": "some text"
              } ]
    },
    "field_tags": { "und": "9" },
    "field_image": {
        "und": 
          [{
            "fid": "1364"
          }]

    },
    "locations":{
        "und":[
                {
                  "country":"gr",
                  "latitude":"55.7046601",
                  "longitude":"13.191007300000024",
                  "name":"TEST LOCATION",
                }
            ]
    }

}
How are you storing the location? Node location? Location CCK field?
take a look at:

https://www.drupal.org/node/906968

If you are using a CCK location field you should disable node location module.


Or if you aren't you could switch to a location field.


As a last option you could put latitude and longitude in their own text fields (like field_latitude and field_longitude) since gmaps module can take lat and lng from text fields.


  you can use CCK location which allows you a geolocation field, it
  comes with location module:
  
  https://www.drupal.org/project/location