• This topic has 1 reply, 1 voice, and was last updated June 17, 2020 by Sterling A.

API Invoke-RestMethod Max number of edited created

  • I have this weird error that I cannot seem to shake.

    I am not actually writing anything, I am simply querying each VPG for its side identifier and then adding the info to a powershell array for offline parsing.

    However I have this error:

    Invoke-RestMethod : {“Message”:”Maximum number of edited\/created vpgs 100 is exceed”}
    At line:27 char:16
    + … gIDResult = Invoke-RestMethod -Uri $VPGURL -TimeoutSec 150 -Headers $ …
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand

    How can I disable this safety feature? At least temporarily.
    Or possibly clear the session’s “number of edited\/created vpgs” so I can continue forward.

    Thank you in advance for your help

    This was fixed by contacting support and them hosting a webex session where I went into the ZVM, installed their “Tweaks app” which allowed us to enter a custom ‘tweak’ setting which adjusted the “t_VpgSettingsControllerMaxVpgSettings” value to a higher limit. This tweak is known to be working for version 8.1.

You must be logged in to create new topics. Click here to login