Needs review
Project:
JSON server
Version:
6.x-2.0-alpha2
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 May 2011 at 11:10 UTC
Updated:
6 May 2011 at 11:26 UTC
Using Services 6.x-2.4 with Key authentication (6.x-2.4).
I have a content type 'cloudnode' with a cck field name 'field_node_ipaddress'
I'm submitting the following (json encoded) array using method 'node.save' :
$node = array ('type' => 'cloudnode', 'title' => 'node1', 'field_node_ipaddress' => '1.2.3.4');
I get the pretty obscure error :
{ "error": true, "data": null }
But copy/pasting the json string to admin/build/services/browse/node.save actually works.
if anyone had an idea why ... well ... would be great ! :)
Comments
Comment #1
unityweb commentedTo provide more infos here's my posted array :
Array
(
[hash] => "1a131aade2b40df468ac0163d1682fa62a656fc5918fea035da34937c4bdf39b"
[method] => "node.save"
[domain_name] => "www.example.org"
[domain_time_stamp] => "1304681050"
[nonce] => "52729bf67f4720ddc04354223f9b3b47"
[sessid] => "bj3b2eg946g2qguggfgca26vf3"
[node] => {"type":"cloudnode","uid":3,"title":"node1"}
)
Returns :
{ "error": true, "data": null }