Jump to content

WinAPI - Invalid API call


Guest Steve Creel

Recommended Posts

Guest Steve Creel

From a machine logged in with a domain account, I continually get "Invalid API Call" when run by the powershell below or when accessed by a browser.  The same results are true when accessing from a separate browser session and providing credentials interactively.

 

PS H:\> $PasswordstateUrl = 'https://<passwordstate server>:9119/WinAPI/passwordlists/'
PS H:\> Invoke-RestMethod -Uri $PasswordstateUrl -Method Get  -UseDefaultCredentials
Invoke-RestMethod : [{"errors":[{"message":"Invalid API Call"},{"phrase":"Error = Object reference not set to an instance of an object.}]}]
 

My WinAPI authentication is setup per the instructions in the manual and I can't find any server-side logging to help identify what I am missing.

 

I am running build 8284.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...