-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clone-Object Error #309
Comments
Hi @oretom, I tested against 22.3.79.2108 and was successfully able to clone a device in this way Are you able to advise
When providing the verbose output, please obscure any sensitive details such as your company name, username and passhash |
Hi 16000 active sensors. regards |
This indicates to me that at the time you attempted to clone the object previously, PRTG timed out. Normally PrtgAPI knows how to deal with PRTG timing out, however it sounds like PRTG timed out in a way different from normal, so I need to see the output when you specify -Verbose one time when it does time out, which unfortunately could make things a bit tricky |
same here:
the object gets cloned successfully, but paused. edit: When I do it like this i have no problems.
|
…the response URL of a cloned object (For #309)
…the response URL of a cloned object (For #309)
I have found a potential issue that may be causing this. Can you please try PrtgAPI 0.9.19-preview.1 via the Manual download instructions? |
Hi, looks pretty good to me. Thanks! |
Hi @lordmilko, I am trying clone-object and running into same error. Where can I download PrtgAPI 0.9.19-preview.1 version from. It seems the latest build link is no longer valid.
Thank you! |
I had this same problem and using the latest build version solved it for me as well. |
Hi have the same error : VERBOSE: Performing the operation "Copy-Object" on target "'Template Serveur [Windows]' (ID: 45327), Destination: 36316". VERBOSE: Copy-Object: Synchronously executing request https:///api/duplicateobject.htm?id=45327&name=csvr-app01w-3&targetid=36316&host=csvr-app01w-3&username=PRTGApiCall&passhash=*** Clone-Object : PRTG was unable to complete the request. The server responded with the following error: The object is currently not valid. Try again later. At Clone_device.ps1:100 char:41 + ... -Id 45327 | Clone-Object -DestinationId $GroupeID -host $DeviceHost ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ModuleType Version Name ExportedCommands Binary 0.9.18 PrtgAPI {Get-Channel, Get-Device, Get-DeviceTemplate, Get-Group...} |
Hi @Maxell0089, Can you try with the latest build? |
Describe the bug
I have an Issue using Clone-Object:
Clone-Object : PRTG was unable to complete the request. The server responded with the following error: The object is currently not valid. Try again later.
It works for the first one or two items and then I get the error above.
Steps to reproduce
What is the output of 'Get-PrtgClient -Diagnostic'?
Additional context
No response
The text was updated successfully, but these errors were encountered: