graphql postman request gives null value for NonNull type '[IDFilterExpression]! | Community
Skip to main content
ArthurSa1
September 4, 2025
Solved

graphql postman request gives null value for NonNull type '[IDFilterExpression]!

  • September 4, 2025
  • 2 replies
  • 273 views

in graphiql explorer, the query works normally:

 

but in postman, I get this error:

 

Best answer by Heena_Shirke

Hi @arthursa1 , as this is a persisted query, variables should be sent as the part of the URL and not as a body. 

Following is the documentation for the same: https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/headless/graphql-api/persisted-queries#query-variables

2 replies

Heena_Shirke
Heena_ShirkeAccepted solution
Level 2
October 20, 2025

Hi @arthursa1 , as this is a persisted query, variables should be sent as the part of the URL and not as a body. 

Following is the documentation for the same: https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/headless/graphql-api/persisted-queries#query-variables

New Member
November 5, 2025

The Method used in your Postman request is of type 'POST', whereas Persisted queries can work only with GET method.

Hence all parameters have to be a part of URL, separated by ';' or %3b. 

Example: append the %3bpaths=%7B"_expressions":[%7B"value":"/content/site1"%7D,%7B"value":"/content/site2"%7D,%7B"value":"/content/site3"%7D] in the URL