I'm trying to implement a multi_picklist with a list of elements, the following code works with one element but fail with a second one, so I think the structure is good, but the format of my list maybe wrong or I'm missing something
def listToString(s):
str1 = ""
for e in s:
str1 += e
print(str1)
return str1
new_cell_add = smart.models.Cell()
new_row_add.cells.append({'column_id': ######, 'object_value': {'objectType': 'MULTI_PICKLIST', 'values': listToString(my list)}, 'strict': True})
I'm getting the error:
{"result": {"code": 5536, "errorCode": 5536, "message": "The value \"com.navigo.smartsheet.rest.helper.sheet.cell.model.MultiPicklist@24f40bb\" could not be saved in column
Any ideas ?