# GraphQL: Returning errors on a schema

**URL:** <https://community.postman.com/t/graphql-returning-errors-on-a-schema/82221>\
**Category:** Help Hub\
**Tags:** postman\
**Created:** [July 12, 2025, 1:37am UTC](https://community.postman.com/t/graphql-returning-errors-on-a-schema/82221 "2025-07-12T01:37:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jecorde](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/jecorde/32/14048_2.png) [@jecorde](https://community.postman.com/u/jecorde)\
**Post date:** [July 12, 2025, 1:37am UTC](https://community.postman.com/t/graphql-returning-errors-on-a-schema/82221/1 "2025-07-12T01:37:28Z")

</div>

Dear All,  
I am writing unto you regarding the GraphQL Schema. I have some errors whilst I am generating a GraphQL API. Therefore , I can’t fetch the schema.  
Where may I find information regarding the GraphQL schema on Postman? What is considered a valid GraphQL schema in Postman ?

I hope to hear from you.

[Not a valid graphQL Schema ?]

 ![1.Apollo_GraphQL](https://us1.discourse-cdn.com/getpostman/original/3X/6/e/6e919b3082e927cc4dbd616d9938ece4984ac8e0.jpeg)

[Can’t fetch the schema]

 ![2.ApolloGraphQL_fetching_Schema](https://us1.discourse-cdn.com/getpostman/original/3X/2/7/277f7e0050c22c9782be3b361958a0b03ffa25cc.jpeg)

_listings.graphql_

```auto
extend schema
   @link(url: "https://specs.apollo.dev/federation/v2.11", import: ["@key"])
    @link(url: "https://specs.apollo.dev/connect/v0.1", import: ["@source","@connect"])
    @source(
      name: "listings"
      http: { baseURL : "https://airlock-listings.demo-api.apollo.dev"}
    )

type Query {
   "A curated array of listings to feature on the homepage"
   featuredListings: [Listing!]! @connect(
     source: "listings"
     http: { GET: "/featured-listings" }
     selection: """
       id 
       title
       numofBeds
       CostPerNight
     """
   )
   "A specific listing"
   listing(id: ID!): Listing
   @connect(
     source: "listings"
     http: { GET: "/listings/{$args.id}" }
     selection: """
      id
      title
      numofBeds
      CostPerNight 
     """
   )
}

"A particular intergalactic location available for booking"
type Listing {
   id: ID!
   "The listing's title"
   title: String!
   "The number of beds available"
   numofBeds : Int
   "The cost per night"
   CostPerNight : Float
}

```

Thank you very much.
