Invalid request format error when saving nodes
wonder95 - April 16, 2009 - 20:39
| Project: | Calais |
| Version: | 6.x-3.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I'm using the OpenPublish distro that has OpenCalais installed, and on saving nodes different times (either by themselves or as part of views bulk operations, etc.), I get the following error:
Calais processing error: Invalid request format - the request has missing or invalid parameters
Thanks.

#1
Does this consistently happen, or just randomly?
The only way to get to the bottom of this if to go into includes/Calais.inc inside the analyze function and near the top, put this debugging in..
$data = array(
'licenseID' => variable_get('calais_api_key', NULL),
'content' => $content,
'paramsXML' => $this->build_xml_params(),
);
$data_enc = http_build_query($data, '', '&');
// Add this to see what is in an invalid format
print "<pre>";
print_r($data);
print_r($data_enc);
print "</pre>";
Also, have you specified your Calais API key in the configuration settings?