json - org.mozilla.javascript.EcmaError: TypeError: Cannot read property "length" from undefined -


when post (a json string) using curl i'm getting following error[1]; knows, how fix this? post json -d @endpointconfigimpl.json , file content like;

endpoint_config='{     "production_endpoints": {         "url": "http://gdata.youtube.com/feeds/api/standardfeeds",         "config": null     },     "endpoint_type": "http" }' 

[1] caused by: org.mozilla.javascript.ecmaerror: typeerror: cannot read property "length" undefined (/publisher/site/blocks/item-design/ajax/add.jag#11) @ org.mozilla.javascript.scriptruntime.constructerror(scriptruntime.java:3687) @ org.mozilla.javascript.scriptruntime.constructerror(scriptruntime.java:3665) @ org.mozilla.javascript.scriptruntime.typeerror(scriptruntime.java:3693)


Comments

Popular posts from this blog

javascript - Wordpress slider, not displayed 100% width -

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -