Hi, I am trying to fetch item column values from a board and am falling short. The following query works when I run it in your try-it-yourself page,
{
boards(ids: MYBoardID) {
name
items {
id
name
column_values(ids: ["text"]) {
title
value
}
}
}
}
However, from c# the following fails with a Bad Request exception from the HttpClient request,
query = “{ "query": " { boards(ids: MYBoardID) { name items { id name column_values(ids: :"text"]) { title value } } } } " }”;
(edit, the escape back slashes for the quotation marks aren’t showing in the post, but the following image is a snip of the actual code)
Essentially the 2 queries are the same with the exception of the added “query”: prefix and the closing brace suffix in the c#.
Can anyone tell me what may be the problem?
Thanks for looking
Kevin