I have been testing the requests I have been sending both through Monday.com API tester and my own script and I run into the same issues, a 500 internal server error. I have been able to eliminate it as parse error. If it is a column validation error I am unsure where it is if it is there.
mutation {change_multiple_column_values (board_id: *******, item_id: ******, column_values: {“ColumnID_1”: “Example Text”, “12345”, “Text_name1”: “No”, “text4”: " ", “status1”: {“label”: “Operating”}}) { id } }
I am sending it as written below in a python script. Elsewhere in this script I have queried items so I know the API is working
Mut2 = ' mutation ( $id: Int!, $columnVals: JSON!) {change_multiple_column_values (board_id: ********, item_id: $id, column_values: $columnVals) { id } }'
vars = {'id' : ID, 'columnVals' : json.dumps(JSONdict)}
dataUP = {'query' : Mut2, 'variables' : vars}
Req = requests.post(url=apiUrl, json=dataUP, headers=headers)
As a side note for the last part of the mutation “{ id } }” is there documentation for what is required in this final part?
