craftql icon indicating copy to clipboard operation
craftql copied to clipboard

Runtime Object type "..." is not a possible type for "EntryInterface".

Open fmkguy opened this issue 6 years ago • 8 comments

Any ideas why I can't query for a specific section?

craftql_-_amplifed_by_design

I have several other sections that I'm successfully able to query. This is the first time I've run into this error. :(

fmkguy avatar Mar 06 '19 00:03 fmkguy

Honestly, I don't even know how you would recreate the issue. I set up the section in exactly the same way I did the others. It's a channel called "Careers"... Nothing special happening in the admin CP.

fmkguy avatar Mar 06 '19 00:03 fmkguy

I may try deleting the section and re-creating it, locally...

fmkguy avatar Mar 06 '19 00:03 fmkguy

Odd. So I tried deleting the section and creating it again. Still getting the same error.

fmkguy avatar Mar 06 '19 00:03 fmkguy

Is there any way you can send me a copy of your database for me to take a look at?

markhuot avatar Mar 06 '19 01:03 markhuot

@markhuot I think I can do that. But what's the best way to send that?

fmkguy avatar Mar 06 '19 18:03 fmkguy

For whatever reason, I was able to create a different section (called FakerNews instead of Careers) utilizing the same fields, and this time it works. "Careers" just doesn't seem to exist according to CraftQL. 🙁 So it doesn't seem like the problem is with the fields I'm using. That's a relief, at least.

fmkguy avatar Mar 06 '19 18:03 fmkguy

@fmkguy, if you can email it to the email address on my github.com/markhuot profile that would be great, thanks. Just reference issue 241 so I know what it is.

markhuot avatar Mar 06 '19 21:03 markhuot

It just occurred to me that I have a Global set also named Careers. Would that cause the issue, do you think?

fmkguy avatar Mar 07 '19 17:03 fmkguy