Skip to main content
NetApp Knowledge Base

SCE or SCSQL backup fails with error API invoke failed

Views:
197
Visibility:
Public
Votes:
1
Category:
snapcenter
Specialty:
SNAPX
Last Updated:

Applies to

  • SnapCenter Server (SC)
  • SnapCenter Plug-in for Microsoft Exchange Server (SCE)
  • SnapCenter Plug-in for Microsoft SQL Server (SCSQL)

Issue

  • SCE / SCSQL backup fails with API invoke failed error
  • Errors seen in job logs for SCSQL backup:
  • SnapManagerWeb_<Job_ID> log

2023-06-23T13:57:29.9866182+02:00 INFO  SnapManagerWeb_1750796 PID=[4888] TID=[22] Enter JobManagerProvider: UpdateJobStatus
2023-06-23T13:57:29.9866182+02:00 DEBUG SnapManagerWeb_1750796 PID=[4888] TID=[22] Updating the job (1750796) task (Creating Snapshot copy) status as Failed
2023-06-23T13:57:29.9866182+02:00 INFO  SnapManagerWeb_1750796 PID=[4888] TID=[22] Enter UpdateJobStatus
2023-06-23T13:57:29.9866182+02:00 INFO  SnapManagerWeb_1750796 PID=[4888] TID=[22] Exit UpdateJobStatus
2023-06-23T13:57:30.0022470+02:00 INFO  SnapManagerWeb_1750796 PID=[4888] TID=[22] Exit JobManagerProvider:
UpdateJobStatus

  • SCW_<Job_ID> log

Critical SDW PID=[4608] TID=[5940] The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: API invoke failed.   at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
Verbose SDW PID=[4608] TID=[5940] ex.Message : The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: API invoke failed.
Verbose SDW PID=[4608] TID=[5940] InitializeONTAP() throw exception:  API invoke failed.
Error SDW PID=[4608] TID=[5940]  API invoke failed.   at SnapDrive.Nsf.Core.Storage.StorageConnection.Initialize(SDStorageSystemId storageSystemId)
Error SDW PID=[4608] TID=[5940] GetStorageSystemVersion failed
Error SDW PID=[4608] TID=[5940] Failed to connect to the storage system <Storage_Cluster_Name / SVM_Name>
Error SDW PID=[4608] TID=[5940] Failed to get the volumes for all volumes.

  • SMCore_<Job_ID> log

ERROR SMCore_1750796 PID=[5260] TID=[14] Create snapshot '<Snapshot_Name>' failed: Snapshot operation failed.  API invoke failed.. 
ERROR SMCore_1750796 PID=[5260] TID=[14] ErrorCode (-1), ErrorMessage (Create snapshot '<Snapshot_Name>' failed: Snapshot operation failed.  API invoke failed.. )

  • SmSql_<Job_ID> log

DEBUG SmSql_<Job_ID> PID=[3456] TID=[4] updating snapshot failure for database: <Database_Name>
DEBUG SmSql_<Job_ID> PID=[3456] TID=[5] Info: SQL server will not backup this db as snapshot creation has failed.

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.