You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like you've got an extra slash in line 34 of Get-GuacUser.ps1, which is causing malformed URLs to be used when calling the API resulting in HTTP 500 errors.
You should change this:
begin
{
$Uri = "$Server/api/session/data/$($DataSource)/users/$($Username)/"
if ($Details)
{
$Uri = "$Uri/$Details"
}
to this (notice the first $Uri = line and the removal of the last slash on the right):
begin
{
$Uri = "$Server/api/session/data/$($DataSource)/users/$($Username)"
if ($Details)
{
$Uri = "$Uri/$Details"
}
Also, huge thank you for sharing your awesome powershell module with the world.
The text was updated successfully, but these errors were encountered:
It looks like you've got an extra slash in line 34 of
Get-GuacUser.ps1
, which is causing malformed URLs to be used when calling the API resulting in HTTP 500 errors.You should change this:
to this (notice the first
$Uri =
line and the removal of the last slash on the right):Also, huge thank you for sharing your awesome powershell module with the world.
The text was updated successfully, but these errors were encountered: