GraphQL API query is now malfunctioning when attempting to include archived posts

A query that used to work using the graphQL API suddenly no longer works, and also doesn’t seem to work in the graphql explorer so I don’t believe it has anything to do with my project.

I am trying to use the includeUnpublished flag in the options to query archived posts, but it doesn’t seem to return them. Only draft and published.

As well, adding query: { published: "draft" } doesn’t have any affect on the results of the query and still returns both published and drafted posts.

Hello @ktran,

Appreciate you highlighting this potential issue for us. After investigation, I am happy to confirm that I was able to reproduce the issue you are experiencing. I will now discuss the issue internally in order to determine the next steps. Once I have further updates, I will get back to you.

Thanks,

1 Like

Hello @manish-sharma , @ktran
I’ve encountered the same issue. Are there any updates regarding that ticket?