- This topic has 2 replies, 3 voices, and was last updated March 20, 2023 by .
API New VPG Error
The forum ‘Scripting and APIs’ is closed to new topics and replies.
Zerto 7.5 U2 Attempting to create VPGs via API and receiving the following error:
Invoke-RestMethod : {“Message”:”Exception occurred in API: The following properties are mandatory when replicating from vSphere to vSphere. Set these accordingly:\nName:
DeleteBackup; Location: ProtectionGroupManagementSettings.ProtectionGroupSettings.BackupSettings\r\nName: TargetIdentifier; Location:
ProtectionGroupManagementSettings.ProtectionGroupSettings.BackupSettings.Target”}
Error seems to be in the backup settings of the JSON which mine look as follows:
“”Backup””: {“”RepositoryIdentifier””: null,“”RetentionPeriod””: null,“”Retry””: {“”IntervalInMinutes””: 10,“”Number””: 3,“”Retry””: true,}
Was there a solution to this?
The forum ‘Scripting and APIs’ is closed to new topics and replies.