Failed to load schema
See original GitHub issueI’ve faced with issue when I can’t load schema from our graphql server. In the same time I can work with online playground without any problem.

this is my config:
schema:
- https://myserver.com/reportings/graphql:
headers:
authorization: 'api-key blablabla'
documents: null
generates:
src/generated/graphql.ts:
plugins:
- 'typescript'
- 'typescript-resolvers'
Also I se this message in the trace.
Could not obtain introspection result, received: "Object reference not set to an instance of an object."
looks like the problem with graphql server, because I have no problem with another playground with the same config file… but I still don’t understand how to debug it
is there a way to emulate fetch schema by cUrl for example?
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
graphql-codegen fails to load GraphQLSchema #4095 - GitHub
Describe the bug graphql-codegen fails to load Schema when GraphQLSchema is provided via a custom loader. However, what is more interesting ...
Read more >Failed to load schema from http://localhost:8000/graphql ...
My localhost is serving the GraphiQL interface just fine, showing the correct schema and all, but the code-generator script shows the same as ......
Read more >Loading GraphQL Schemas from Different Sources
Load GraphQLSchema by Using Different Loaders from Different Sources · Using #import Expression · Binding to HTTP Server.
Read more >Unable to load schema for plug-in error when configuring an ...
Solution · Ensure you have the correct server credentials. · Ensure the LDAP server name is correct. · Ensure all the communications ports...
Read more >Failed to load schema in discovery_schema timeout ... - Airbyte
Is this your first time deploying Airbyte?: No OS Version / Instance: Ubuntu 22.04.1 LTS Deployment: Docker Airbyte Version: 0.40.06 Source ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@UlisesAC4 you have an indentation issue with your YAML:
@dotansimha thank you for this, now everything is fine!