SCV fails to update the SnapVault due to REST API Invoke error
Applies to
- SnapCenter Plug-in for VMware (SCV) 5.x and 6.x
- ONTAP 9.13.1P10, 9.14.1P2, 9.14.1P6
Issue
- Backups that trigger SnapVault fail to do so with the following errors in the protection service's
Job-<JobID>.log:
[ERR]System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
--->System.NullReferenceException: Object reference not set to an instance of an object.
at NetApp.DataProtection.Storage.CommandAPI.SDK.NestedCall.NcSnapmirrorRestInterface.SnapmirrorUpdateOutputRestResponse(JTokenrecord, NcRestInterface ncRestInterface)
[DBG] [Request Method]: POST
[ERR] Failed to run a command Invoke-NcSnapmirrorUpdate
[DBG] ex.Message : Object reference not set to an instance of an object.
[DBG] [Response Location Header]:/api/snapmirror/relationships/<RELATIONSHIP_UUID>/transfers/<TRANSFER_UUID>
[INF] End GetSALCommandRenewConnectionObject
[DBG] [Response]: {
"error": {
"message": "entry doesn't exist",
"code": "4",
"target": "uuid"
}
}
[ERR] ErrorCode (-1), ErrorMessage (Snapmirror update failed with SDError (102) - SnapMirror update operation failed.
Failed to update the SnapMirror relationship.
Object reference not set to an instance of an object.
Please check the Windows event log and SnapDrive logs for more details.Snapmirror update failed with SDError (102) - SnapMirror update operation failed.
Failed to update the SnapMirror relationship.
Object reference not set to an instance of an object.
- May also see the following error message where SCV cannot find the relationships:
2025-11-25 05:00:46.365 +01:00 [INF] Command: Get-NcSnapmirror Force ZAPI: false2025-11-25 05:00:46.365 +01:00 [DBG] Running Command Get-NcSnapmirror controller name : 192.168.169.174, vserver : 2025-11-25 05:00:46.366 +01:00 [INF] Is REST supported for the command: True2025-11-25 05:01:00.362 +01:00 [ERR] Record doesn't exist Record doesn't exist2025-11-25 05:01:00.362 +01:00 [DBG] [Response]: { "records": [ ], "num_records": 0, "_links": { "self": { "href": "/api/snapmirror/relationships?query=*%3aDAV4_HA_vm%7cDAV4_HA_vm&query_fields=source.path%2csource.consistency_group_volumes.name&fields=uuid,source.path,source.svm,destination.path,destination.svm,policy.uuid,policy.name,state,transfer,healthy,exported_snapshot,destination.consistency_group_volumes.name,source.consistency_group_volumes.name,destination.cluster.name,destination.svm.name,destination.svm.uuid,policy.type,source.cluster.name,source.svm.name,source.svm.uuid,restore,group_type,_links&state=!null" } }}2025-11-25 05:01:00.362 +01:00 [ERR] API exception: System.ArgumentException: Record doesn't exist
