I hav esome basic powershell scripts to audit some of the permissions within octopus, but since we upgraded from 2019.1 to 2019.13 I am getting this error:
Exception calling “GetAll” with “0” argument(s): "Unable to process response from server: Error converting value “RunbookRunCreate” to type
‘Octopus.Client.Model.Permission’. Path ‘.GrantedSpacePermissions’, line 20, position 24… Response content: [
“Name”: “Ariel Team Configurator”,
At line:1 char:1
Sample Powershell Script:
$endpoint = new-object Octopus.Client.OctopusServerEndpoint ($OctopusURL, $APIKey)
$repository = new-object Octopus.Client.OctopusRepository ($endpoint)
This line gives the error:
Thanks for reaching out. Sorry to hear that you’re running into this error.
Unfortunately, I have not been able to reproduce this error, but I’m wondering if that’s because we are running different versions of octopus.client.dll?
If possible can you send me the version of Octopus Client you’re running?
Looking forward to hearing from you shortly.
The octopus client dll is 188.8.131.52
Thanks for sending over your Client.dll version. Your Octopus Server and Client versions appear to be out of sync.
By chance, are you pointing to a client.dll outside of your Octopus Server instance? The default location for the client is typically located at C:\Program Files\Octopus Deploy\Octopus\Octopus.Client.dll, here you should find version 184.108.40.206 or higher. Running version 220.127.116.11 or higher should allow you to run your permissions audit script error-free.
Let me know if that’s not the case for you as something may have gone awry with your Server upgrade.
I hope this helps and let me know what you find.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.