powershellwrapper icon indicating copy to clipboard operation
powershellwrapper copied to clipboard

Troubleshooting New-ITGlueAttachments Forbidden

Open fcrevaroli opened this issue 4 years ago • 2 comments

When calling the function New-ITGlueAttachments from a script i get the following error: New-ITGlueAttachments : {"message":"Forbidden"}

On the same script the function Get-ITGlueConfigurations works correctly so i have exclued an error on the api key. Is there any way i can further troubleshoot this issue? How can i debug the Invoke-RestMethod request sent ? Any help would be appreciated.

Thanks

Francesco

fcrevaroli avatar Sep 04 '20 13:09 fcrevaroli

From what I can see, the current version of the wrapper does not have the function New-ITGlueAttachments. Did you add it yourself or have I missed something?

ecspresso avatar Sep 08 '20 09:09 ecspresso

@fcrevaroli can you paste in your code without any sensitive keys attached into it? I can probably debug it for you if you want.

rodrigoargumedo avatar Dec 18 '20 17:12 rodrigoargumedo