REST API Workbook Update Error - Index and Size


An user attempts to use the REST API to update an existing workbook. The update fails and the following message is returned as standard output:

"status": "failure", 
"reason": "Index: 20, Size: 19"


The REST API JSON object was invalid. Specifically, multiple instances of the same sheetID value was set for two different sheets in the Workbook JSON.


To resolve this issue, correct the duplicated sheetID issue. The sheetID value must be unique for each distinct sheet in the JSON object.

Using the updated JSON, re-run the REST API update command to resolve this issue.