You are not logged in.
Pages: 1
Hello,
I am trying to configure API in GLPI in order to connect with GAPP APP, but when I tried to access from the app, it appear an error that says "ERROR_SESSION_TOKEN_MISSING".
I am using version 10.0.10.
In the API client I have left the app_token empty.
Can somebody help me please?
Thank you
Offline
If you tried clearing the app_token from the API Client before GLPI 10.0.10, please make sure it is still empty. In some versions of 10.0.X, there was a bug that caused the app_token to be re-generated when the form was saved.
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline
Hello,
After verifying that the app_token is empty, I found that it is an Apache issue.
Since, in my case, I have contracted hosting, I have had to add a line to the .htaccess file:
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
This led me to the following error:
"Not Acceptable
An appropriate representation of the requested resource could not be found on this server."
The most likely cause is the server's security settings. If the server has "mod_security" enabled, the server error log should be reviewed.
Look for: "ModSecurity: Access denied with code 406" and identify the "id". Then, in the .htaccess file add:
SecRuleRemoveById id
Where "id" is the id found in the error log.
This is how I solved the problem
Thank you
Offline
Pages: 1