Jump to content

Making calls to the Anonymous API is not allowed


rookie

Recommended Posts

Hello,

 

I am currently testing the API. The windows API works fine so far but the standard API seems to have problems.

In the system settings "Allow users to make calls to the Anonymous API" is set and a system wide API key was generated. However, the following error occurs with standard API calls:

 

Invoke-Restmethod : [{"errors":[{"message":"Forbidden"},{"phrase":"Making calls to the Anonymous API is not allowed.
Please refer to your Passwordstate Security Administrators for more information."}]}]
In Zeile:2 Zeichen:12
+ $results = Invoke-Restmethod -Method GET -Uri $PasswordstateUrl -Head ...
+            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebEx
   ception
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand

 

Are there any settings that I'm missing?

Our current build is 9300.

 

Best regards.

Link to comment
Share on other sites

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...