Unable to Parse JSON for Summary Field Updates

Hi, I'm just attempting to use Smartsheet's API to update the values within the summary fields of a newly created sheet. I got my function for updating the columns to work, but I keep receiving the error below when I try to update the summary fields.
ERROR - {'errorCode': 1008, 'message': 'Unable to parse request. The following error occurred: Field "objectValue" was of unexpected type.', 'refId': 'x3iq9w'}
Here is the JSON payload… Everything looks correct, but am I missing something?
Answers
-
Hi @ehutton,
I tested this on my end and found that I received similar errors. However, I found this related Community thread and having reviewed this, I confirmed in my testing that you don’t need to include the “objectType” as this is included under “type”.
You can therefore simplify this, so that if you want to update the value within a summary field, it’ll look like this (with your values):
And if you want to update the summary field title and the value, it’ll look like this (with your values):
I understand that the API documentation doesn’t specify that this is possible in this way - if you’d like to provide feedback on the API documentation, please fill out this form.
Does that work for you?
Georgie
Need more information? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions