Title field and Content field returning null in wpgraphql when quering custom post type #2863
-
I have created a custom post type with CPT UI and registered support for title, editor and featuredImage and made it show in graphql, yet when I query for this title and content they return while featured Image -> sourceUrl returns a url query GetPages { results { |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hey @Dimswati The |
Beta Was this translation helpful? Give feedback.
Hey @Dimswati
The
RAW
format is only available for authenticated requests. You can toggle authentication in the GraphiQL IDE to ensure it works, and drop the arg (or change it toRENDERED
) and you should be able to get your data back.