Error 8518 over API call.
- email: info@c**.nl
- token: 56a3************************b09a
- token generated with url: https://accounts.zoho.eu/apiauthtoken/create?SCOPE=ZohoReports%2Freportsapi
- There is only one workspace and one table for that account.
- This workspace is owned by the user: info@c**.nl
A part of the PHP code (which works for the other account fl**is@a**m.nl):
-
$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);
Some info about the error:
- error_code: 8518
- error_message: You need to (re)login to perform this operation
- HTTP_status_code: 400
- From line 1368 on ReportClient.php
Please can you tell me wat I'm missing or what goes wrong when importing to the account info@c**.nl