Quantcast
Channel: Symantec Connect - Endpoint Protection - Discussions
Viewing all articles
Browse latest Browse all 10484

Rate limit exceeded - SEPM REST API

$
0
0
I need a solution

Hi everybody,

i'm trying to create a bunch of groups in SEP Manager via REST API and powershell. However after creating 23 groups i get the following error:

Invoke-RestMethod : {"error":"Rate limit exceeded."}
At C:\temp\rest.ps1:60 char:21
+ ... oupResult = Invoke-RestMethod -SkipCertificateCheck -Uri $Uri -Header ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (Method: GET, Reques\u2026PowerShell/6.2.3
}:HttpRequestMessage) [Invoke-RestMethod], HttpResponseException
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand

Making a pause (of 2-15 seconds) between the creation of the separate groups doesn't change anything about the error.

If I restart the script directly after the error occurred it won't create any new groups but stop with the same error again; if i wait like a couple minutes the script will create some groups before crashing again with the 'Rate limit exceeded' error.

My system environment:

VM with Windows Server 2016 & Powershell 6.2.3

SEP Manager 14.2.1031.0100

What can i do to work around this error or is there a way to get any more information why this is happening?

Thanks for your help in advance.

0

Viewing all articles
Browse latest Browse all 10484

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>