# Postman Graphql Schema Refresh not working

**URL:** <https://community.postman.com/t/postman-graphql-schema-refresh-not-working/43486>\
**Category:** Help Hub\
**Tags:** graphql\
**Created:** [February 2, 2023, 7:37am UTC](https://community.postman.com/t/postman-graphql-schema-refresh-not-working/43486 "2023-02-02T07:37:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fatihaksoy](https://avatars.discourse-cdn.com/v4/letter/f/b782af/32.png) [@fatihaksoy](https://community.postman.com/u/fatihaksoy)\
**Post date:** [February 2, 2023, 7:37am UTC](https://community.postman.com/t/postman-graphql-schema-refresh-not-working/43486/1 "2023-02-02T07:37:35Z")

</div>

I am using postman for my graphql requests with spring boot.

When i try to refresh the schema my application gave an error.

```auto
graphql.AssertException: query can't be null
at graphql.Assert.assertNotNull(Assert.java:17)
at graphql.ExecutionInput$Builder.query(ExecutionInput.java:204)
at 
graphql.kickstart.execution.input.GraphQLSingleInvocationInput.createExecutionInput(GraphQLSingleInvocationInput.java:47)

```

This is because postman sends the refresh query empty. Could you fix it [@Postman](https://community.postman.com/groups/postman) Team

The query should be like this;

```auto
query IntrospectionQuery {
  __schema {
    queryType {
      name
    }
    mutationType {
      name
    }
    subscriptionType {
      name bla bla bla 

```

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [April 8, 2025, 3:40pm UTC](https://community.postman.com/t/postman-graphql-schema-refresh-not-working/43486/2 "2025-04-08T15:40:12Z")

</div>

Closed on April 8, 2025, 3:40pm UTC

Sorry we didn’t get to this sooner. This isn’t the experience we want for our users.

We’re closing out older posts to help keep the community organized and relevant. If this issue is still affecting you, please start a new topic with any updated details and we’ll be happy to help.
