automation icon indicating copy to clipboard operation
automation copied to clipboard

Error 422 trying to push any data to GLUe

Open bfreitasdtiq opened this issue 3 years ago • 1 comments

Anytime i try to push data , Ive tried Passwords,Configurations i get this error.

New-ITGluePasswords : {"errors":[{"status":422,"title":"Valid organization_id is required","source":{"pointer":"data/attributes/organization_id"}}]}

New-ITGluePasswords -organization_id 5020178 -data $PasswordObject

#Password Data $PasswordObject = @{ type = 'passwords' attributes = @{ name = 'utilname' username = 'usernametest' password = 'passwordtest' notes = "Local Admin Password for $($Env:COMPUTERNAME)" } }

bfreitasdtiq avatar May 12 '22 19:05 bfreitasdtiq

And when doing configrations i get this one New-ITGlueConfigurations : {"errors":[{"source":{"pointer":"/data/attributes/configuration-type"},"detail":"must exist","title":"Unprocessable Entity","status":422}]}

bfreitasdtiq avatar May 12 '22 19:05 bfreitasdtiq