7005 Error on importDataAsString request
In februari this year we created an importDataAsString functionality which was working at that time. Now I was running this functionality again and I got a 7005 error:
- Sorry, an unexpected error occurred when performing this operation. The error has been logged and will be looked into.nnIt would be of great help if you could provide us with additional information using the ''Feedback'' link.
- Error Code: 7005
- HTTP_status_code: 500
- From line 1368 on ReportClient.php
Below a part of the php script I am using for the call:
-
$uri = $report_client_request->getURI($email_id, $db_name, $table_name);
$import_type = "UPDATEADD";
$auto_identify = "TRUE";
$on_error = "ABORT";
$config = [
"ZOHO_MATCHING_COLUMNS" => "Name of Column",
];
$report_client_request->importDataAsString($uri, $import_type, $data, $auto_identify, $on_error, $config);
An example of the data structure from $data:
"Column name1","Column name2","Column name3","Column name4","Column name5","Column name6"
"Some text 12345","Some text","Some text","02-04-2010","31-07-2015","Some text"
"Some text 12345","Some text","Some text","02-01-2012","31-06-2013","Some text"
I tested it for for two different zoho accounts. One of them with the same credentials, same AuthToken and same workspace and table name as in Februari from this year.
Can it be that there is something changed in the API? Am I missing something?
I see that the method ->importDataAsString is not mentioned in the documentation (anymore ?). I'm not sure if this was mentioned back then. But it's anyway still in the provided library, version 1.0.