Jump to content

WinAPI - Invalid API call


Recommended Posts

Guest Steve Creel
Posted

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.

Posted

Hi Steve,

 

Thanks for reporting back, and yes this was a bug we fixed in build 8325 - sorry for the inconvenience.

Regards

Click Studios

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...