Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid GraphQL Response #12322

Closed
1 task done
tim-hanssen opened this issue Sep 18, 2023 · 7 comments
Closed
1 task done

Invalid GraphQL Response #12322

tim-hanssen opened this issue Sep 18, 2023 · 7 comments
Assignees
Labels
feature product/api-client protocol/graphql Issues relating to the GraphQL protocol within Postman

Comments

@tim-hanssen
Copy link

Is there an existing request for this feature?

  • I have searched the existing issues for this feature request and I know that duplicates will be closed

Is your feature request related to a problem?

Since the new update it's not possible to display the raw body sent by a server if the request is done in GraphQL mode. The response shows an postman error "Received an invalid GraphQL response". This is very annoying when debugging GraphQL server errors.

Describe the solution you'd like

Setting to make it possible to view the raw body.

Describe alternatives you've considered

No response

Additional context

No response

@codenirvana
Copy link
Member

@tim-hanssen Can you share the Postman app version where you notice this behaviour?

@codenirvana codenirvana self-assigned this Sep 18, 2023
@codenirvana codenirvana added protocol/graphql Issues relating to the GraphQL protocol within Postman product/api-client labels Sep 18, 2023
@tim-hanssen
Copy link
Author

tim-hanssen commented Sep 18, 2023

Sure! I'm using Version 10.18.2 (10.18.2) @codenirvana

@codenirvana
Copy link
Member

Can you share the steps to reproduce this issue? Any public endpoint to test this?

@tim-hanssen
Copy link
Author

tim-hanssen commented Sep 18, 2023

I think this happens when the content type is not matching application/json, simple request like a health check request, without a query triggers the same error

@tim-hanssen
Copy link
Author

Still exists in Version 10.18.10 (10.18.10)

@timhall
Copy link

timhall commented Oct 9, 2023

Hi @tim-hanssen I've found the source of the issue and I'm fixing it now. I'll update this issue once it's been released.

@timhall
Copy link

timhall commented Nov 29, 2023

This was fixed in v10.20, thanks again for reporting the issue.

@timhall timhall closed this as completed Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature product/api-client protocol/graphql Issues relating to the GraphQL protocol within Postman
Projects
None yet
Development

No branches or pull requests

3 participants