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

Error message for invalid 'content-type' in subgraph response doesn't provide enough information #5359

Closed
IvanGoncharov opened this issue Jun 6, 2024 · 0 comments · Fixed by #5223
Assignees

Comments

@IvanGoncharov
Copy link
Member

Describe the bug
At the moment error message for invalid 'content-type' in subgraph response looks like this:

HTTP fetch failed from 'test': subgraph didn't return JSON (expected content-type: application/json or content-type: application/graphql-response+json; found content-type: text/html)

It doesn't contain invalid values, and it doesn't have any explanation of what is wrong with a content type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant