DEV Community

Discussion on: Gatsby with WPGraphQL, ACF and Gatbsy-Image

Collapse
 
danlaw86 profile image
Dan Lawson

Hi, i've tried to get this working using the exact same code but am receiving the following error:

Error: Schema must contain uniquely named types but contains multiple types named "File".

Do you know why this might be happening at all? thanks

Collapse
 
henrikwirth profile image
Henrik Wirth

I remember someone having the same problem. He needed to make sure, that gatsby-source-filesystem is used in the config and the options contain a valid folder path.

If this is not the problem, feel free to come to the WPGraphQL Slack Chat. You can chat with me and others there and we can try to find the bug with you.