---
title: "Comment by MaryShodiya on \"Next js + GraphQL + TypeScript Setup\" | Hashnode"
description: "Nice Tutorial... However, you made an error with the query file name when calling it the pages/index.tsx. &quot;CountriesQuery.graphql&quot; is the query file n"
url: "https://hashnode.com/posts/next-js-graphql-typescript-setup/5f3b2dd33e23f55bce0e2e92/comment/6401d8a16cc7b7a220948c87"
---

[Discussion](https://hashnode.com/posts/next-js-graphql-typescript-setup/5f3b2dd33e23f55bce0e2e92)

Comment [Next js + GraphQL + TypeScript Setup](https://hashnode.com/posts/next-js-graphql-typescript-setup/5f3b2dd33e23f55bce0e2e92)

[MaryShodiya](https://hashnode.com/@MaryShodiya)

[Mar 3, 2023](https://hashnode.com/posts/next-js-graphql-typescript-setup/5f3b2dd33e23f55bce0e2e92/comment/6401d8a16cc7b7a220948c87)

Nice Tutorial... However, you made an error with the query file name when calling it the pages/index.tsx.

"CountriesQuery.graphql" is the query file name but we imported "./queryCountries.graphql" when calling the query.

[Ivan Maximiliano Saldano](https://hashnode.com/@ivanms1)

[Mar 3, 2023](https://hashnode.com/posts/next-js-graphql-typescript-setup/5f3b2dd33e23f55bce0e2e92/comment/6401d8a16cc7b7a220948c87#reply-6401dfd8a50f11a2517bf082)

oh thank you, nice find. I've corrected it.
