Hello
I try to update a column value for an item but I have a strange error. My column type is numeric, here the code I use (python) :
import requests
token = "xxx"
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json',
'Authorization': token
}
url = "https://api.monday.com/v2/"
mutation_query = """
mutation {
change_column_value(
board_id: 123,
item_id: 123,
column_id: "numbers53",
value:"\\"3\\"") {
id
}
}
"""
response = requests.post(
url,
json={"query": mutation_query},
headers=headers)
print(response.status_code)
print(response.json())
And here the response I get :
{'errors': [{'message': 'Parse error on "3" (INT) at [7, 16]', 'locations': [{'line': 7, 'column': 16}]}], 'account_id': xxx}
Is the value I send to the API correctly formatted ?