OTV10: SRA failover or testFailover fails with "duplicate export policy rules present in the request"
- Views:
- 86
- Visibility:
- Public
- Votes:
- 0
- Category:
- ontap-storage-replication-adapter
- Specialty:
- VIRT
- Last Updated:
Applies to
- ONTAP Tools for VMware vSphere (OTV) 10.5
- ONTAP Storage Replication Adapter (SRA) 10.5
- VMware Site Recovery Manager (SRM)
- VMware Live Site Recovery (vLSR)
Issue
When performing a Failover or testFailover operation in ONTAP Tools 10 (OTV10), the following errors are seen:
- In the Recovery Plan History Report, the "Create writable storage snapshot" step fails:

- For a Failover operation, the following XmlValidation error might also be seen:
Failed to promote replica devices. A general system error occurred: N2Dr3Xml20XmlValidateExceptionE value '' does not match regular expression facet '[+\-]?[0-9]+'...
Reviewing the application log for OTV shows errors such as:
{"stream":"stdout","log":"{"timestamp":"2025-10-31T14:51:54.5476220Z","level":"info","message":"UpdateErrorMessage: Job document updated Received status: 500 as response status with response = {"error":{"message":"Exception : [400 Bad Request] during [PATCH] to [https://<cluster IP>:443/api/protocols/nfs/export-policies/###?return_records=true] [ExportPolicyFeignClient#modifyExportPolicy(URI,String,ExportPolicy)]: [{\\n \\"error\\": {\\n \\"message\\": \\"The export policy was not created because of duplicate export policy rules present in the request.\\",\\n \\"code\\": \\"1704071\\"\\n }\\n}]","code":500}
And:
{"stream":"stdout","log":"{\"x-correlation-id\":\"1234\",\"jobId\":\"12345\",\"vcguid\":null,\"exception\":{\"exception_class\":\"java.lang.Exception\",\"exception_message\":\"Exception : [400 Bad Request] during [PATCH] to [https://<cluster IP>:443/api/protocols/nfs/export-policies/123456789?return_records=true] [ExportPolicyFeignClient#modifyExportPolicy(URI,String,ExportPolicy)]: [{\n \"error\": {\n \"message\": \"The export policy was not created because of duplicate export policy rules present in the request.\",\n \"code\": \"1704071\"\n }\n}]\",\"stacktrace\":\"java.lang.Exception: Exception : [400 Bad Request] during [PATCH] to [https://10.168.77.10:443/api/protocols/nfs/export-policies/34359738369?return_records=true]
