I am trying to update records with monday-sdk on react project

monday.api(mutation { change_multiple_column_values (board_id:2090651929, item_id:2169239342, column_values: "{\"dup__of_supplier_id\" : \"Sample text\"}"){id}}).then((updateRes) => {
console.log(“updateRes”, updateRes);
});

It is responding error as below:

{“errors”:[{“message”:“Parse error on " : " (STRING) at [1, 120]”,“locations”:[{“line”:1,“column”:120}]}],“account_id”:10282384}

Hello @deepak1!

Welcome to the community. I hope you like it here :muscle:

This is strange since I just used the exact same mutation (with my own IDs) and it worked for me.

I have a few questions:

  1. Does this work if you just use the mutation in your Playground?
  2. Is this error happening for all the items in that board?
  3. Does this also happen for items in other boards?
  4. Does this also happen if you try to update another column in the same board?
  5. Is the ID of the column that you are using exactly as it is in the board?

Looking forward to hearing from you :slightly_smiling_face:

Cheers,
-Matias