I have trouble inserting values to a "picklist" column using smartsheet API and python. The value I am trying to insert is one of the options from the picklist as can be seen in the picture attached. I have no idea how to insert values to cells in the picklist column and I cant find any documentation for it
Code:
new_row = smartsheet.models.Row()
new_row.id = row_id
new_cell = smartsheet.models.Cell() #Cell configuration
new_cell.column_id = 5727843499960196
new_cell.value = "Jysk Bumpers"
new_cell.strict = False
new_row.cells.append(new_cell)
updated_row = smartsheet_client.Sheets.update_rows(1398305516218244, # sheet_id
[new_row])
print("Complete")
Output:
{"response": {"statusCode": 400, "reason": "Bad Request", "content": {"detail": {"index": 0, "rowId": 8212749243377540}, "errorCode": 1235, "message": "Value is not supported for this column type. Use objectValue instead.", "refId": "wv6as6"}}}
Complete
I tried using objectValue but still was not able to succeed.