4.13.1 GraphQL - Error: Missing schema in validateQuery for Images

System Information
  • Strapi Version: 4.13.1
  • Operating System: all
  • Database: postgres / all
  • Node Version: 16
  • NPM Version: 6

The Release Notes mention “REST” only, but all our GraphQL Calls which fetch an image are now broken as well.

Error: Missing schema in validateQuery

Public Endpoint, no user-permissions involved.

Below query breaks as soon as I add image.

  query SomeQuery{
    someContent {
      data {
        id
        __typename
        attributes {
          title
          image {
            data {
              id
              attributes {
                name
                formats
              }
            }
          }
        }
      }
    }
  }

Someone else on discord has the same issue: Discord

Github: Data fetching (REST) with any user-permissions relations does not work (as if ignored completely) · Issue #17001 · strapi/strapi · GitHub

fix has been merged.