Closed ricoroodenburg closed 1 month ago
I think this issue is releated to https://github.com/aaronparker/evergreen/issues/660
The API is currently being abused (in the range of 300,000-400,000 requests per day) by some type of script, so I've blocked the default PowerShell user agent to prevent the requests from hitting the API.
You can use Get-EvergreenAppFromApi
or specify a custom user agent in your call to the API. If you use a custom user agent, please ensure it's something unique so that I can identify in the logs if I need to add more filtering in the future.
The API is currently being abused (in the range of 300,000-400,000 requests per day) by some type of script, so I've blocked the default PowerShell user agent to prevent the requests from hitting the API.
You can use
Get-EvergreenAppFromApi
or specify a custom user agent in your call to the API. If you use a custom user agent, please ensure it's something unique so that I can identify in the logs if I need to add more filtering in the future.660 is a slightly different issue that seems to affect calls from within Azure only.
Ah that's terrible. I hope it wasn't me :). We only use it once a month for our lifecycle change.
I have changed the UserAgent to something unique with this Issue ID, it is working now. Please check your backend if you can see requests from my end. Thanks!!
What happened?
Invoke-RestMethod -Uri "https://evergreen-api.stealthpuppy.com/app/omnissahorizonclient" -Method Get
Invoke-RestMethod : The remote server returned an error: (403) Forbidden. At line:1 char:1
Version
API
What PowerShell edition/s are you running Evergreen on?
Windows PowerShell
Which operating system/s are you running Evergreen on?
Windows 10+, Windows Server 2016+
Have you reviewed the documentation?
Verbose output