These are chat archives for reactioncommerce/reaction

19th
Jan 2019
Ali Avci
@aiavci
Jan 19 08:42
Anyone else getting GraphQL errors? [GraphQL error]: Message: Cannot query field "inventoryAvailableToSell" on type "CatalogProduct"., Location: [{"line":10,"column":7}], Path: undefined
[GraphQL error]: Message: Cannot query field "inventoryAvailableToSell" on type "CatalogProduct"., Location: [{"line":10,"column":7}], Path: undefined [GraphQL error]: Message: Cannot query field "inventoryInStock" on type "CatalogProduct"., Location: [{"line":11,"column":7}], Path: undefined [GraphQL error]: Message: Cannot query field "canBackorder" on type "CatalogProductVariant". Did you mean "isBackorder"?, Location: [{"line":99,"column":9}], Path: undefined [GraphQL error]: Message: Cannot query field "inventoryAvailableToSell" on type "CatalogProductVariant". Did you mean "inventoryManagement"?, Location: [{"line":100,"column":9}], Path: undefined [GraphQL error]: Message: Cannot query field "inventoryInStock" on type "CatalogProductVariant". Did you mean "inventoryPolicy" or "inventoryManagement"?, Location: [{"line":101,"column":9}], Path: undefined [GraphQL error]: Message: Cannot query field "canBackorder" on type "CatalogProductVariant". Did you mean "isBackorder"?, Location: [{"line":124,"column":11}], Path: undefined [GraphQL error]: Message: Cannot query field "inventoryAvailableToSell" on type "CatalogProductVariant". Did you mean "inventoryManagement"?, Location: [{"line":125,"column":11}], Path: undefined [GraphQL error]: Message: Cannot query field "inventoryInStock" on type "CatalogProductVariant". Did you mean "inventoryPolicy" or "inventoryManagement"?, Location: [{"line":126,"column":11}], Path: undefined Unable to access the GraphQL API. Is it running and accessible at http://reaction.api.reaction.localhost:3000/graphql-alpha from the Storefront UI server? { Error: Network error: Response not successful: Received status code 400 at new ApolloError (/usr/local/src/node_modules/apollo-client/bundle.umd.js:121:32) at /usr/local/src/node_modules/apollo-client/bundle.umd.js:1188:45 at /usr/local/src/node_modules/apollo-client/bundle.umd.js:1619:21 at Array.forEach (<anonymous>) at /usr/local/src/node_modules/apollo-client/bundle.umd.js:1618:22 at Map.forEach (<anonymous>) at QueryManager.broadcastQueries (/usr/local/src/node_modules/apollo-client/bundle.umd.js:1613:26) at /usr/local/src/node_modules/apollo-client/bundle.umd.js:1115:35 at process._tickCallback (internal/process/next_tick.js:68:7) graphQLErrors: [], networkError: { Error: Response not successful: Received status code 400 at throwServerError (/usr/local/src/node_modules/apollo-link-http-common/lib/bundle.umd.js:33:21) at /usr/local/src/node_modules/apollo-link-http-common/lib/bundle.umd.js:58:17 at process._tickCallback (internal/process/next_tick.js:68:7) response: Body { url: 'http://reaction.api.reaction.localhost:3000/graphql-alpha', status: 400, statusText: 'Bad Request', headers: [Headers], ok: false, body: [Gunzip], bodyUsed: true, size: 0, timeout: 0, _raw: [Array], _abort: false, _bytes: 1728 }, statusCode: 400, result: { errors: [Array] } }, message: 'Network error: Response not successful: Received status code 400', extraInfo: undefined, queryErrors: [ [Circular] ] }
Ali Avci
@aiavci
Jan 19 09:04
I get "Sorry! We couldn't find what you're looking for." when I click on a sample product
I'm not sure if these two errors are related
Ali Avci
@aiavci
Jan 19 10:57
Does the starter kit support localization? Changing the defautl locale in the meteor project didn't update the locale in the starterkit