Hello,
I'm trying to create a new node, but I'm consistently getting the following error:

warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'Page_node_form' was given in /srv/d_dvs/var/www/html/drupal-6.15/includes/form.inc on line 372.

I'm simply trying the following JSON node on the browse page (admin/build/services/browse/node.save ) with keys and session turned on -
{"type":"Page","body":"test body","title":"test title"}

Any thoughts on how to resolve this? FYI - saving existing nodes is not a problem.

NOTE: the following seem related - http://groups.drupal.org/node/13138 and http://drupal.org/node/139131 - but both are over a year old.

Thanks and Happy New Years, almost.

Derek

Comments

dereks’s picture

Status: Active » Closed (fixed)

Sorry, I had the wrong type. Typed needed to be 'page' not 'Page'. Using the machine-readable name of the content type (even new content types) works fine.