GETByXML error (2017)
SYMPTOMS:
When I tried to update a Resource using API, I get an error: GETByXML error
ERROR:
2:17:20 PM Level1: Source: Changepoint.ChangepointAPI2.ApiResource.UpdateByXML
12:17:20 PM Level3: Input parameters: sXML
12:17:20 PM Level3: Input parameters: sResourceId
12:17:20 PM Level8: UpdateByXML Begin ApiResource.UpdateByXML
12:17:20 PM Level2: Error: Number= -1 Message= Operation failed (system error). GetByXML: Error retrieving resource data.
12:17:20 PM Level1: Log for this source is end.
12:17:20 PM Level2: Error: Number= -1 Message= Operation failed (system error). GetByXML: Error retrieving resource data.
12:17:20 PM Level2: StackTrace: at Changepoint.ChangepointAPI2.ApiException.SetError(Int32 errNum, String details, Boolean throwException, String sField)
at Changepoint.ChangepointAPI2.ApiResource.UpdateByXML(String sXML, String sResourceId)
12:17:20 PM Level1: Log for this source is end.
REASON:
Resource Rates were null.
RESOLUTION:
Updating Resource Rates to 0.00 allowed proper update.