Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

i want to use the batchInsert of google map engine, i am calling this with dojo/request

                        headers : {
                            "Authorization": 'Bearer '+ token.access_token,
                            "Access-Control-Allow-Origin" : null,
                            "X-Requested-With": null,
                            "Content-Type": "application/json"
                        handleAs : 'json',
                        method : 'POST',
                        data :datastring
                        console.log("Got data :"+data);
                    }, function(err){
                        console.log("Got error :"+err.response.text);
                    }, function(evt){
                        console.log("Got Event :"+evt);

Request as below


But i am getting the error as

Got error :{
"error": {
"errors": [
"domain": "global",
"reason": "required",
"message": "A value is required.",
"locationType": "other",
"location": "features[0].geometry"
"code": 400,
"message": "A value is required."
features[0].geometry has a value or is null ? Check the request in debugger for more details –  twisig Feb 10 at 4:51

1 Answer 1

up vote 1 down vote accepted

I don't know if this is only a temporary issue, but at least at this very moment, your request gives an error related to your account limits:

enter image description here

I'll try further to investigate your problem.

Did you realise that's a misspelling into your request: geomerty ?

Just try again, using geometry instead.

problem with the spelling.. :( –  chiranjeevibmse Feb 9 at 2:50

This site is currently not accepting new answers.

Not the answer you're looking for? Browse other questions tagged .