API error 1008

RSMKevin
RSMKevin
edited 01/23/24 in API & Developers

I'm receiving this error when creating a new subrow using this API https://api.smartsheet.com/2.0/sheets/{MySheetId}/rows

{
	"refId": "98a680f9-09b4-4703-894b-98d30a5ab2f9",
	"errorCode": 1008,
	"message": "Unable to parse request."
}

This request was working previously, here is the JSON body that is being sent:

[
    {
        "cells": [
            {
                "columnId": 7851003459096452,
                "value": "No Track Specified"
            },
            {
                "columnId": 2221503924883332,
                "value": 110
            },
            {
                "columnId": 6725103552253828,
                "value": 0
            },
            {
                "columnId": 4473303738568580,
                "value": 47
            },
            {
                "columnId": 8976903365939076,
                "value": 0
            }
        ],
        "parentId": 5090900936396676,
        "toTop": true
    }
]

Not sure why I'm getting this error, if I remove the parentId from the body, it does create the row but doesn't do so under the parent row.

This was previously working and only recently stopped working.

Any ideas?

Answers