Skip to main content

Hi guys


I am trying to read the people column, and I am encountering an error. Please see the code below.


Query


const personsObjects = await monday.api(`query {
items (ids:738909449) {
column_values(ids: "people") {
... on PeopleValue {
persons_and_teams{
id
}
}
}
}
}`)


Response

message":"No such type PeopleValue, so it can’t be a fragment condition

Hello there @royalayofdigital,


It looks to me like you might be using API’s version 2023-07.


Would you be able to please try adding in the headers of your request:


API-Version : 2023-10


Please let me know how that foes!


Cheers,

Matias


Reply