api call with Hub failed. (Forbidden - Access denied) when running CSV/JSON PowerShell export scripts

api call with Hub failed. (Forbidden - Access denied) when running CSV/JSON PowerShell export scripts

avatar

Hello,

While using the csv export script and JSON export script today provided by Devolutions in the Password Vault Managed Business Tools section, I came across this error about 5-7 times while the script is running. All entries seem to export however...:

Get-HubEntry: J:\export-vaults-powershell-module-script-CSV.ps1:28
Line |
  28 |    $entries = Get-HubEntry -VaultId $vault.id
     |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | The api call with Hub failed. (Forbidden - Access denied)

I have confirmed our application user/key has full managed access to every vault in our instance. This error occurred in the CSV and JSON export scripts. I have confirmed we have the latest Devolutions.Hub powershell module.

All Comments (2)

avatar

Hello,

Thank you for the error report. We will try to reproduce on our end. When you mention that all entries seems to export, is that all entries of a given vault or all entries of all vaults?

Have a good day!

Maxime Morin

avatar

We have not examined the contents of the individual vault files generated by the export script at this time as there are many vaults and many entries per vault.

Let me know if there's any details you would need from us.