In this post, you’ll learn about the error message “ApiInvalidCoordinate – The {0} coordinate of {1} is invalid.” that you usually receive when working eith the Excel Services in SharePoint.
When working with SharePoint Excel Services, there are error codes that are generated in the SOAP exception when the errors occur in the Excel Services. You can use the SubCode property that is available in the SoapException class to identity these error codes and troubleshoot the issue.
Error Message
ApiInvalidCoordinate – The {0} coordinate of {1} is invalid.
Reason for the Error
0 = coordinate name (row, column, height, width).
1 = name of the argument, which holds the coordinate structure.
The contents of the RangeCoordinates class or the row\column\height\width parameters on a get or set call are invalid.
Solution
Use valid coordinate values for the argument.