I don’t understand how to know what column types to pass. I would think it would be this list:
GraphQL API
But doesn’t seem to always be the case? There are vars for a create_item mutation:
let vars = {
"myItemName": name,
"columnVals": JSON.stringify({
"website": { "url": website, "text" : website},
"deal_stage" : {"label" : stage},
"date_added5" : {"date" : today},
"description" : {"text" : description},
"connect_boards" : {"item_ids" : "founderID]},
"deal_owner" : {"personsAndTeams" : " {"id" : dealOwner, "kind" : "person"} ] }
})
I only was able to figure out that “website” (a link type) should be passed “url” from asking on this forum. Now I face the same issue with “description”, which is a text field.
Here is the error:
{"error_code":"ColumnValueException","status_code":200,"error_message":"invalid value, please check our API documentation for the correct data structure for this column. https://developer.monday.com/api-reference/docs/change-column-values","error_data":{"column_value":"{\\"text\\"=\\u003e\\"The best!\\"}","column_type":"TextColumn"}}
If not “text” then what should I be passing?