Posted by wonder95 on April 16, 2009 at 8:39pm
Jump to:
| Project: | OpenCalais |
| Version: | 6.x-3.5 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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.
Comments
#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?
#2
#3
EDIT: I reinstalled the key and altered some of the settings - now it works! Yipee!
HI - I am having this problem. I am getting this error on every node save. I have only recently installed Calais, but I do have a key and I have put the key in the API settings.
I tried to add the above text to the analyze function in calais.inc (specifically the public analyze function on line 70), but was there an effect I should have seen?
Cheers!
#4
I'm getting the very same error message whether I bulk process or when I create or update an article: Calais processing error: Invalid request format - the request has missing or invalid parameters
why is there no reference to the supposed changes in the settings? I have re-saved the key and it seems to say the key is correct. There is an address below the key which I don't believe I was the one that entered it.
This message appears every single time I bulk or single item process.