• Resolved suthar05

    (@suthar05)


    Hi,
    recently i did update the plugin.. after update the plugin then showing “Unexpected token ‘<‘, \”\n<he\”… is not valid JSON”.

    this error showing only integrationImage like below.
    1. for fetching issue here (after add integrationImage { } and this is showing in query composer.

    {
    allIntegrationCategories {
    edges {
    node {
    link
    name
    slug
    uri
    integration {
    edges {
    node {
    acf_integrations {
    knowMoreLink
    integrationImage {
    altText
    }
    }
    slug
    title
    uri
    }
    }
    }
    }
    }
    }
    }

    2. this is without integrationImage (this working fine)

    {
    allIntegrationCategories {
    edges {
    node {
    link
    name
    slug
    uri
    integration {
    edges {
    node {
    acf_integrations {
    knowMoreLink
    
            }
              slug
              title
              uri
            }
          }
        }
      }
    }
    }
    }
    • This topic was modified 1 year, 3 months ago by suthar05.
Viewing 1 replies (of 1 total)
  • Plugin Author Jason Bahl

    (@jasonbahl)

    @suthar05?WPGraphQL doesn’t have an “integrationImage” field out of the box.

    How did you add that field to the Schema? If the query works without that field, but fails with that field, perhaps the code that adds that field to the Schema needs to be updated?

    The more info you can provide, the better. What WPGraphQL extensions are you using? How are you modifying the GraphQL Schema? What steps have you taken to debug already?

Viewing 1 replies (of 1 total)
  • The topic ‘Issue on GraphQL query Composer’ is closed to new replies.