rookie Posted August 30, 2021 Share Posted August 30, 2021 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 More sharing options...
support Posted August 30, 2021 Share Posted August 30, 2021 Hello mUser, With that System Setting, did you just chnage this? If so, can you please try recycle the PasswordstateApps Application Pool in IIS to see if that helps. Regards Click Studios Link to comment Share on other sites More sharing options...
rookie Posted September 1, 2021 Author Share Posted September 1, 2021 Hello, this worked for us. Thank you very much for your quick reply. Best regards. Link to comment Share on other sites More sharing options...
support Posted September 1, 2021 Share Posted September 1, 2021 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now