I’m trying to update items in C# via api calls, but my query is not working, it returns a 500 Internal Server Error, Version: 1.1, but it works in the play ground:
{“query”: “mutation {change_multiple_column_values(item_id: 5720531888, board_id: 5720522778, column_values: “{"name":"Name changed","people":{"personsAndTeams":[{"id":"42575577","kind":"person"}]},"status":{"index":1},"numbers":"10"}” ){id} }”}
This the mutation that works in the play ground the exact mutation, which is not working it code, the values and format are all the same so they are correct:
mutation worksHere {change_multiple_column_values(item_id: 5720531888, board_id: 5720522778, column_values: “{"name":"Name changed","people":{"personsAndTeams":[{"id":"42575577","kind":"person"}]},"status":{"index":1},"numbers":"10"}” ){id} }
By the way, I am able to udpate the board in code, add_users_to_board or delete_subscribers_from_board and that works, including updating description and board name.
Looking forward to getting this working, thanks in advance for your help.
Thanks Matias, I compared your Postman with my C#, the only difference I see is that your content does not contain the key work “mutation” and your have the empty variable property at the end, everything else is the say. I believe for update and create mutation is needed, so far that’s what has been working for me in other functions. Oh, you’re also doing a SendAsync() and I’m doing PostAsync(). Everything else is the same, I’ll do some further digging, but if anyone has this working in C# I’d really appreciate the help. Thanks.