GLPI retrieval error

Share your tips or issues concerning the WAPT Console or WAPT Agent here
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Answer
AnTho
Messages: 5
Registration: Nov 21, 2023 - 1:49 p.m.
Location: Langres

June 28, 2024 - 12:26

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 3485 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
Last edited by AnTho on June 28, 2024 - 13:23, edited 1 time.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

June 28, 2024 - 1:11 PM

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).
AnTho
Messages: 5
Registration: Nov 21, 2023 - 1:49 p.m.
Location: Langres

July 1, 2024 - 12:14

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
Answer