ericferon / glpi-archimap

GLPI plugin for drawing architecture maps (based on draw.io)
GNU General Public License v2.0
19 stars 10 forks source link

HTTP initSession error 400 - Bad Request App-Token is present, but invalid (ERROR_WRONG_APP_TOKEN_PARAMETER). #94

Closed GemeindeJade closed 9 months ago

GemeindeJade commented 9 months ago

Good morning,

I need help installing Diagrams in a GLPI system 10.0.11. I created the API tokens as described in the instructions and inserted them in the places described. Unfortunately, no matter which token I insert there, I get an error message.

I have attached a few pictures of the facility. The system runs on Windows 2022 with Apache 2.4 and PHP 8.2. The database is a MariaDB 11.3.1.

Maybe you can give me a tip.

Bild1_fehler Bild2_APPToken Bild2_ClientToken1 Bild4_EinstellungenAPI

Beste regards. Maik Schultze

ozz1n8 commented 9 months ago

Hi, in Administration > Profiles > select your profile for edit

Diagrams menu, and check what permisssions you want to enable.

GemeindeJade commented 9 months ago

Hi, in Administration > Profiles > select your profile for edit

Diagrams menu, and check what permisssions you want to enable.

Hi ozz1n8, Thanks for your answer. Here is an excerpt from the permissions.

Bild5

ericferon commented 9 months ago

Hi, In "Diagrams Configuration", your record "APP_TOKEN" must have an empty key ("schlüssel"), but its value must contain the app token. K.r,