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

Failed to load schema from https://backpack-api.xnfts.dev/v2/graphql #4352

Open
dhunganasaroj3 opened this issue Jan 7, 2025 · 0 comments
Open

Comments

@dhunganasaroj3
Copy link

@coral-xyz/provider-core:start:
@coral-xyz/recoil:build: [STARTED] Parse Configuration
@coral-xyz/recoil:build: [SUCCESS] Parse Configuration
@coral-xyz/recoil:build: [STARTED] Generate outputs
@coral-xyz/recoil:build: [STARTED] Generate to ./src/apollo/
@coral-xyz/recoil:build: [STARTED] Load GraphQL schemas
@coral-xyz/recoil:build: [SUCCESS] Generate outputs
@coral-xyz/recoil:build: [FAILED]
@coral-xyz/recoil:build: [FAILED] Failed to load schema from https://backpack-api.xnfts.dev/v2/graphql:
@coral-xyz/recoil:build: [FAILED]
@coral-xyz/recoil:build: [FAILED] Could not obtain introspection result, received the following as response;
@coral-xyz/recoil:build: [FAILED] { code: "ERR_INVALID_ARG_TYPE" }
@coral-xyz/recoil:build: [FAILED] GraphQLError: Could not obtain introspection result, received the following as response;
@coral-xyz/recoil:build: [FAILED] { code: "ERR_INVALID_ARG_TYPE" }
@coral-xyz/recoil:build: [FAILED] at createGraphQLError (/home/gatsby/projects/v23/backpack/node_modules/@graphql-tools/utils/cjs/errors.js:9:12)
@coral-xyz/recoil:build: [FAILED] at getSchemaFromIntrospection (/home/gatsby/projects/v23/backpack/node_modules/@graphql-tools/wrap/cjs/introspect.js:21:42)
@coral-xyz/recoil:build: [FAILED] at /home/gatsby/projects/v23/backpack/node_modules/@graphql-tools/wrap/cjs/introspect.js:44:32
@coral-xyz/recoil:build: [FAILED] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
@coral-xyz/recoil:build: [FAILED] at async UrlLoader.load (/home/gatsby/projects/v23/backpack/node_modules/@graphql-tools/url-loader/cjs/index.js:220:29)
@coral-xyz/recoil:build: [FAILED] at async /home/gatsby/projects/v23/backpack/node_modules/@graphql-tools/load/cjs/load-typedefs/load-file.js:17:39
@coral-xyz/recoil:build: [FAILED] at async Promise.all (index 5)
@coral-xyz/recoil:build: [FAILED] at async loadFile (/home/gatsby/projects/v23/backpack/node_modules/@graphql-tools/load/cjs/load-typedefs/load-file.js:15:9)
@coral-xyz/recoil:build: [FAILED] at async /home/gatsby/projects/v23/backpack/node_modules/@graphql-tools/load/cjs/load-typedefs/collect-sources.js:229:25
@coral-xyz/recoil:build: [FAILED]
@coral-xyz/recoil:build: [FAILED] GraphQL Code Generator supports:
@coral-xyz/recoil:build: [FAILED] - ES Modules and CommonJS exports (export as default or named export "schema")
@coral-xyz/recoil:build: [FAILED] - Introspection JSON File
@coral-xyz/recoil:build: [FAILED] - URL of GraphQL endpoint
@coral-xyz/recoil:build: [FAILED] - Multiple files with type definitions (glob expression)
@coral-xyz/recoil:build: [FAILED] - String in config file
@coral-xyz/recoil:build: [FAILED]
@coral-xyz/recoil:build: [FAILED] Try to use one of above options and run codegen again.
@coral-xyz/recoil:build: [FAILED]
@coral-xyz/recoil:build: [FAILED]
@coral-xyz/common:start:

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

No branches or pull requests

1 participant