Skip to main content

I have created a query to pull two specific columns from a specific item. When I run the query in the playground it works as expected and I can see the results I am after in the results section. However, when I run the exact same query from Postman I get two error messages ("No such type DropdownValue, so it can’t be a fragment condition; also receive this same error for the TimeTrackingValue column). Here is the query I am running


{
items(ids: :12345678]) {
id
name
column_values(ids: :"property", "duration"]) {
... on DropdownValue {
id
text
}
... on TimeTrackingValue {
id
started_at
duration
history {
started_user_id
started_at
ended_at
created_at
}
}
}
}
}

Does anyone know why the query works fine in the playground and not in Postman?

Hi @sgdev,


Welcome to the community!


Can you share the response you receive in Postman?


Best,

Rachel


My guess is you’ve enabled the extension of the 2023-07 API version being the default for the user (yourself) in monday.labs. This would result in postman using 2023-07 as the default API version which doesn’t support the column type fragments.


You’ll want to add the “API-version” header with the value “2024-01” to your postman headers (maybe at the collection level).


Thank you Cody that was exactly the issue.


Thank you @anon29275264 for the help!!


Reply