diff --git a/SVSTaskGate.ps1 b/SVSTaskGate.ps1 index d4205fe..58a9916 100644 --- a/SVSTaskGate.ps1 +++ b/SVSTaskGate.ps1 @@ -869,6 +869,10 @@ try { $ApiKey = $selectedSite.ApiKey $ApiSecretKey = $selectedSite.ApiSecretKey + # Log parsed data for debugging + Write-LogHybrid -Message "Parsed parameters: ApiUrl='$ApiUrl', ApiKey='$ApiKey', ApiSecretKey='$ApiSecretKey'" -Level "Info" + + # Verify required parameters if (-not $ApiUrl -or -not $ApiKey -or -not $ApiSecretKey) { $responseString = "Error: Missing required parameters. ApiUrl='$ApiUrl', ApiKey='$ApiKey', ApiSecretKey='$ApiSecretKey'"