query = f"“”
mutation {{
change_column_value (board_id: {board_id}, item_id: {item_id}, column_id: {column_id}, value: “{client_name}”) {{
id
}}
}}
“”"
response = requests.post(
“https://api.monday.com/v2/”, json={“query”: query}, headers=HEADERS
)
if response.status_code == 200:
print(
f"API Response (Status Code: {response.status_code}):\\n{response.json()}"
) # Print the API response for debugging
data = response.json()
print(
f"Update response for item {item_id} on board {board_id}: {data}"
) # Print the update response for debugging
else:
print("Bad Request: ", response.status_code)
this giving me 500 status code
I was trying to update a column using GraphQL query and python script, I am getting 500 error
Login to monday.com
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.