Open Tedezed opened 5 years ago
Solution to error App token in new version of GLPI: ERROR_WRONG_APP_TOKEN_PARAMETER
ERROR_WRONG_APP_TOKEN_PARAMETER
Custom example code, dodge TypeError: cannot concatenate 'str' and 'tuple' objects'
TypeError: cannot concatenate 'str' and 'tuple' objects'
import os from glpi import GLPI import json url = "https://glpi.example.com/apirest.php" user = None password = None token = "XXXXXXXXXXXXXXXX" glpi = GLPI(url, token, token) glpi.kill() print glpi.get('getMyProfiles')
Solution to error App token in new version of GLPI:
ERROR_WRONG_APP_TOKEN_PARAMETER
Custom example code, dodge
TypeError: cannot concatenate 'str' and 'tuple' objects'