Page 1 of 1

GLPI retrieval error

Published: June 28, 2024 - 12:26
by AnTho
Good morning,

We have implemented the prod-glpi-plugin-export-to-glpi10 package to enable the upload of our IT inventory to GLPI.

GLPI version: 10.0.14
WAPT version: 2.5.5.15640 under Debian 12


The documentation allowed us to configure the package and obtain our first inventory reports on GLPI.

However, when accessing the WAPT console in the 'audit data' tab on some PCs, the following error is displayed:

GLPI audit error
GLPI audit error
2024-06-28 11_16_07-WAPTConsole Enterprise version 2.5.5.15640.png (5.19 KB) Viewed 3487 times

JSON format:

glpi.upload =
{
"hash": "failed",
"lastid": 7169009,
"output": " {\"status\":\"error\",\"message\":\"Unable to create item.\",\"expiration\":24}",
"status": "ERROR",
"synchro_date": "2024-06-28 10:24:29.242052"
}

Despite several searches and reconfigurations of the package, it was impossible to determine the fault.

If anyone has any ideas, I'd appreciate it because I'm a bit lost.

Good day

Re: GLPI upload error

Published: June 28, 2024 - 1:11 PM
by sfonteneau
Hello,

there seems to be a lead here:
https://forum.glpi-project.org/viewtopi ... 48#p507148

So if I understand correctly, it's a uniqueness issue (serial number or something else depending on your import rules).

Re: GLPI upload error

Published: July 1, 2024 - 12:14 PM
by AnTho
Hello,

Yes, indeed, when I went to GLPI and checked the "equipment import and linking rules," I found that some old rules were either inactive or misconfigured.
We need to clean things up.

Thank you and have a good day