You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2020-07-26 07:56:07

tsuyoda
Member
Registered: 2020-07-26
Posts: 1

Internal server error - add a technician

Hello everyone,

I am trying to insert a technician to a ticket via API Rest, but it always returns "Internal server error".

I'm trying directly via Postman with the proper credentials

POST -> apirest.php/Ticket_User
Body -> {"input": {"tickets_id": "441826", "users_id": "72397", "type": "2", "use_notification": "1"}}

The same error for:
POST -> apirest.php/Ticket/441826/Ticket_User
Body -> {"input": {"tickets_id": "441826", "users_id": "72397", "type": "2", "use_notification": "1"}}



And the strangest thing, and I can insert an observer with:

POST -> apirest.php/Ticket_User (or apirest.php/Ticket/441826/Ticket_User)
Body -> {"input": {"tickets_id": "441826", "users_id": "72397", "type": "3", "use_notification": "1"}}

Only with type: 2 returns error :-(

And something even stranger still, in the GLPI GUI the user of the attempt is listed as assigned, but in the log history of this ticket nothing has been recorded.


My version of GLPI: 9.2.1

Does anyone have any suggestions?

Offline

#2 2020-07-27 15:15:13

mecmav
Member
From: Brasil
Registered: 2019-03-22
Posts: 326

Re: Internal server error - add a technician

upgrade your version.

this version not supported anymore

Offline

Board footer

Powered by FluxBB