[Vuejs]-Vue.js using aws AppSync has GraphQL Validation error of type Unknow Type

0👍

As per the information you provided, your Vue query and GraphQL schema does not match i.e. TableTftTeamComboFilterInput is not defined in your schema. Your query in AppSync is working because you are not providing any input to it and therefore no validation error. On this note, your second query should work like this:

export const test2 = /* GraphQL */ `
query listTftTeamCombos {
  listTftTeamCombos {
    items {
      sortId
      teamId
    }
  }
}

I think there is problem in how you are making the query.

Leave a comment