Skip to main content
ArthurSa1
New Member
September 4, 2025
Solved

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

in graphiql explorer, the query works normally:

 

but in postman, I get this error:

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
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

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

Translate
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

Translate