This query works fine in the Playground.
{
items(ids: [123456789]) {
id
name
column_values(ids: [“date”, “label”, “formula”]) {
id
text
column {
title
}
… on FormulaValue{
display_value
}
}
}
}
But once I send it via the API I get an error about the display_value.
Body being sent:
{“query”: “{ items(ids: 123456789]) { id name column_values(ids: "date", "label", "formula"]) { id text column { title } … on FormulaValue { display_value } } } }” }
Error Received:
{“errors”:o{“message”:“Cannot query field \\“display_value\\” on type \\“FormulaValue\\”.”,“locations”:t{“line”:1,“column”:144}]}]}
Anyone have any idea what’s going on here and how to fix it? To my knowledge, the FormulaValue display_value option is the only way to get the result of a formula out of Monday.com.
Thanks,
Eric