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

Errors in 3.0 #620

Closed
griggheo opened this issue Dec 2, 2019 · 2 comments
Closed

Errors in 3.0 #620

griggheo opened this issue Dec 2, 2019 · 2 comments
Assignees

Comments

@griggheo
Copy link
Contributor

griggheo commented Dec 2, 2019

Getting these errors when hitting https://storefront.v3.reactioncommerce.io:

Server started ! ✓
      http://localhost:4000
      Press CTRL-C to stop
[GraphQL error]: Message: Field "tag" argument "shopId" of type "ID!" is required, but it was not provided., Location: [{"line":2,"column":3}], Path: undefined
[GraphQL error]: Message: Variable "$slugOrId" of type "String" used in position expecting type "String!"., Location: [{"line":1,"column":16},{"line":2,"column":17}], Path: undefined
Unable to access the GraphQL API. Is it running and accessible at http://v3-reaction-core/graphql-beta from the Storefront UI server?
{ Error: Network error: Response not successful: Received status code 400
    at new ApolloError (/usr/local/src/app/node_modules/apollo-client/bundle.umd.js:99:32)
    at /usr/local/src/app/node_modules/apollo-client/bundle.umd.js:978:45
    at /usr/local/src/app/node_modules/apollo-client/bundle.umd.js:1345:21
    at Array.forEach (<anonymous>)
    at /usr/local/src/app/node_modules/apollo-client/bundle.umd.js:1344:22
    at Map.forEach (<anonymous>)
    at QueryManager.broadcastQueries (/usr/local/src/app/node_modules/apollo-client/bundle.umd.js:1339:26)
    at /usr/local/src/app/node_modules/apollo-client/bundle.umd.js:928:35
    at process._tickCallback (internal/process/next_tick.js:68:7)
  graphQLErrors: [],
  networkError:
   { ServerError: Response not successful: Received status code 400
       at Object.exports.throwServerError (/usr/local/src/app/node_modules/apollo-link-http-common/lib/index.js:23:17)
       at /usr/local/src/app/node_modules/apollo-link-http-common/lib/index.js:48:21
       at process._tickCallback (internal/process/next_tick.js:68:7)
     name: 'ServerError',
     response:
      Body {
        url: 'http://v3-reaction-core/graphql-beta',
        status: 400,
        statusText: 'Bad Request',
        headers: [Headers],
        ok: false,
        body: [PassThrough],
        bodyUsed: true,
        size: 0,
        timeout: 0,
        _raw: [Array],
        _abort: false,
        _bytes: 412 },
     statusCode: 400,
     result: { errors: [Array] } },
  message:
   'Network error: Response not successful: Received status code 400',
  extraInfo: undefined }
[GraphQL error]: Message: Field "tag" argument "shopId" of type "ID!" is required, but it was not provided., Location: [{"line":2,"column":3}], Path: undefined
[GraphQL error]: Message: Variable "$slugOrId" of type "String" used in position expecting type "String!"., Location: [{"line":1,"column":16},{"line":2,"column":17}], Path: undefined
Unable to access the GraphQL API. Is it running and accessible at http://v3-reaction-core/graphql-beta from the Storefront UI server?
{ Error: Network error: Response not successful: Received status code 400
    at new ApolloError (/usr/local/src/app/node_modules/apollo-client/bundle.umd.js:99:32)
    at /usr/local/src/app/node_modules/apollo-client/bundle.umd.js:978:45
    at /usr/local/src/app/node_modules/apollo-client/bundle.umd.js:1345:21
    at Array.forEach (<anonymous>)
    at /usr/local/src/app/node_modules/apollo-client/bundle.umd.js:1344:22
    at Map.forEach (<anonymous>)
    at QueryManager.broadcastQueries (/usr/local/src/app/node_modules/apollo-client/bundle.umd.js:1339:26)
    at /usr/local/src/app/node_modules/apollo-client/bundle.umd.js:928:35
    at process._tickCallback (internal/process/next_tick.js:68:7)
  graphQLErrors: [],
  networkError:
   { ServerError: Response not successful: Received status code 400
       at Object.exports.throwServerError (/usr/local/src/app/node_modules/apollo-link-http-common/lib/index.js:23:17)
       at /usr/local/src/app/node_modules/apollo-link-http-common/lib/index.js:48:21
       at process._tickCallback (internal/process/next_tick.js:68:7)
     name: 'ServerError',
     response:
      Body {
        url: 'http://v3-reaction-core/graphql-beta',
        status: 400,
        statusText: 'Bad Request',
        headers: [Headers],
        ok: false,
        body: [PassThrough],
        bodyUsed: true,
        size: 0,
        timeout: 0,
        _raw: [Array],
        _abort: false,
        _bytes: 412 },
     statusCode: 400,
     result: { errors: [Array] } },
  message:
   'Network error: Response not successful: Received status code 400',
  extraInfo: undefined }
@aldeed
Copy link
Contributor

aldeed commented Dec 3, 2019

@griggheo
Copy link
Contributor Author

griggheo commented Dec 4, 2019

Bingo!

https://storefront.v3.reactioncommerce.io/ works now!

/cc @spencern

@aldeed aldeed closed this as completed Dec 4, 2019
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

2 participants