Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad Request Grafana 8.5.1 GLPI 9.5.7 #76

Open
xseth03 opened this issue Apr 29, 2022 · 2 comments
Open

Bad Request Grafana 8.5.1 GLPI 9.5.7 #76

xseth03 opened this issue Apr 29, 2022 · 2 comments

Comments

@xseth03
Copy link

xseth03 commented Apr 29, 2022

Bonjour,
Ce plugin fonctionne-t-il sur Grafana 8.5.1 et GLPI 9.5.7 ?
J'ai réussi à configurer le plugin sur Grafana la connexion avec l'API GLPI est OK, cependant, je ne parviens pas à exécuter une requête, j'ai systématiquement une erreur 400.

runRequest.ts:151 runRequest.catchError {"status":400,"statusText":"Bad Request","data":["ERROR","Identifiant de champ incorrect dans le critère de recherche; Afficher la documentation dans votre navigateur à https://.fr/apirest.php/#ERROR"],"config":{"method":"GET","url":"https://.fr/apirest.php/search/ticket?is_deleted=0&criteria[0][field]=2&criteria[0][searchtype]=contains&criteria[0][value]=&search=Rechercher&itemtype=Ticket&start=0&criteria[1][link]=AND&criteria[1][field]=undefined&criteria[1][searchtype]=morethan&_select_criteria[1][value]=0&_criteria[1][value]=1651223100&criteria[1][value]=2022-04-29 09:05:00&criteria[2][link]=AND&criteria[2][field]=undefined&criteria[2][searchtype]=lessthan&_select_criteria[2][value]=0&_criteria[2][value]=1651226700&criteria[2][value]=2022-04-29 10:05:00&forcedisplay[0]=0","headers":{"App-Token":"hk0wQaLc8grgjcOJ4byuqPHuhqQw8SapFRAMP209","Session-Token":"acnr2on7hhm49ajg30rm9o5g54"},"retry":0,"hideFromInspector":false}}

Dans timerange based on : j'ai uniquement Undefined de renseigné, je ne sais pas si le problème de là ?

@abreuti
Copy link

abreuti commented May 2, 2022

I have this problem, haven't found a solution for now.

@c411n
Copy link

c411n commented Dec 21, 2022

Same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants