Not able to query slice-machine slices with graphQuery

Hi @Phil ,

Many thanks for the efforts. Good point regarding body vs slices - I didn't noticed this at first.

Yesterday, I changed the name of my slice from form to form_section in the attempt to see if there is a bug where if the custom type/slice/field is with the same name, it would result in an error. It didn't help however.

I just tried it with your recommendations, but I still get an error

export const formGQ = `{
  page {
    ...pageFields
    slices {
      ...on form_section {
        non-repeat {
          ...non-repeatFields
        }
      }
    }
  }
}`;

Any idea why?

I'd be great if the error message is more helpful as I currently have no idea what I do right/wrong.