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

[bug] PDP throws 400 error #481

Closed
jeffcorpuz opened this issue Jan 15, 2019 · 4 comments
Closed

[bug] PDP throws 400 error #481

jeffcorpuz opened this issue Jan 15, 2019 · 4 comments
Labels
bug For issues that describe a defect or regression in the released software

Comments

@jeffcorpuz
Copy link
Contributor

Type: critical

Describe the bug
Going into a PDP triggers a 400 response via Browser Console.
Product is not displayed as a result going to "Not Found" page.

To Reproduce
Steps to reproduce the behavior:

  1. Go to any PDP.
  2. Verify console error on browser.

Expected behavior
Successful visit to the PDP

Screenshots
screen shot 2019-01-16 at 8 22 23 am

Desktop (please complete the following information):

  • OS: OSX Mojave
  • Browser : Chrome
  • Version : 71.0.3578.98

Additional context
As @impactmass stated:

the complain about `inventoryAvailableToSell` makes me think there’s a branch mismatch
@erik added new PDP fields which I believe included `inventoryAvailableToSell`

Logs:

POST http://localhost:3000/graphql-alpha 400 (Bad Request)
index.js:2178 [GraphQL error]: Message: Cannot query field "inventoryAvailableToSell" on type "CatalogProduct"., Location: [{"line":10,"column":7}], Path: undefined
__stack_frame_overlay_proxy_console__ @ index.js:2178
(anonymous) @ initApollo.js:43
(anonymous) @ initApollo.js:41
error @ index.js:29
notifySubscription @ VM55 productGrid.js:66373
onNotify @ VM55 productGrid.js:66404
error @ VM55 productGrid.js:66463
(anonymous) @ httpLink.js:134
Promise.catch (async)
(anonymous) @ httpLink.js:95
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
(anonymous) @ index.js:17
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
(anonymous) @ index.js:20
Promise.then (async)
(anonymous) @ index.js:19
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
(anonymous) @ VM55 productGrid.js:23643
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
(anonymous) @ VM55 productGrid.js:22649
push.../../node_modules/apollo-client/core/QueryManager.js.QueryManager.fetchRequest @ VM55 productGrid.js:22647
push.../../node_modules/apollo-client/core/QueryManager.js.QueryManager.fetchQuery @ VM55 productGrid.js:22109
push.../../node_modules/apollo-client/core/QueryManager.js.QueryManager.startQuery @ VM55 productGrid.js:22518
push.../../node_modules/apollo-client/core/ObservableQuery.js.ObservableQuery.setUpQuery @ VM55 productGrid.js:21832
push.../../node_modules/apollo-client/core/ObservableQuery.js.ObservableQuery.onSubscribe @ VM55 productGrid.js:21801
(anonymous) @ VM55 productGrid.js:21464
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
Query._this.startQuerySubscription @ VM55 productGrid.js:50976
push.../../node_modules/react-apollo/react-apollo.browser.umd.js.Query.componentDidMount @ VM55 productGrid.js:51063
commitLifeCycles @ react-dom.development.js:14362
commitAllLifeCycles @ react-dom.development.js:15463
callCallback @ react-dom.development.js:100
invokeGuardedCallbackDev @ react-dom.development.js:138
invokeGuardedCallback @ react-dom.development.js:187
commitRoot @ react-dom.development.js:15604
completeRoot @ react-dom.development.js:16619
performWorkOnRoot @ react-dom.development.js:16564
performWork @ react-dom.development.js:16483
performSyncWork @ react-dom.development.js:16455
requestWork @ react-dom.development.js:16355
scheduleWork$1 @ react-dom.development.js:16219
scheduleRootUpdate @ react-dom.development.js:16786
updateContainerAtExpirationTime @ react-dom.development.js:16813
updateContainer @ react-dom.development.js:16840
ReactRoot.render @ react-dom.development.js:17123
legacyRenderSubtreeIntoContainer @ react-dom.development.js:17278
render @ react-dom.development.js:17318
renderReactElement @ index.js:338
_callee5$ @ index.js:397
tryCatch @ runtime.js:62
invoke @ runtime.js:288
prototype.(anonymous function) @ runtime.js:114
asyncGeneratorStep @ asyncToGenerator.js:5
_next @ asyncToGenerator.js:27
(anonymous) @ asyncToGenerator.js:34
F @ _export.js:36
(anonymous) @ asyncToGenerator.js:23
doRender @ index.js:343
_callee2$ @ index.js:233
tryCatch @ runtime.js:62
invoke @ runtime.js:288
prototype.(anonymous function) @ runtime.js:114
asyncGeneratorStep @ asyncToGenerator.js:5
_next @ asyncToGenerator.js:27
(anonymous) @ asyncToGenerator.js:34
F @ _export.js:36
(anonymous) @ asyncToGenerator.js:23
render @ index.js:205
(anonymous) @ index.js:177
(anonymous) @ router.js:794
(anonymous) @ _collection.js:40
notify @ router.js:793
set @ router.js:528
_callee2$ @ router.js:337
tryCatch @ runtime.js:62
invoke @ runtime.js:288
prototype.(anonymous function) @ runtime.js:114
asyncGeneratorStep @ asyncToGenerator.js:5
_next @ asyncToGenerator.js:27
Promise.then (async)
asyncGeneratorStep @ asyncToGenerator.js:15
_next @ asyncToGenerator.js:27
(anonymous) @ asyncToGenerator.js:34
F @ _export.js:36
(anonymous) @ asyncToGenerator.js:23
change @ router.js:362
push @ router.js:244
SingletonRouter.(anonymous function) @ index.js:75
(anonymous) @ link.js:121
onClick @ link.js:192
callCallback @ react-dom.development.js:100
invokeGuardedCallbackDev @ react-dom.development.js:138
invokeGuardedCallback @ react-dom.development.js:187
invokeGuardedCallbackAndCatchFirstError @ react-dom.development.js:201
executeDispatch @ react-dom.development.js:461
executeDispatchesInOrder @ react-dom.development.js:483
executeDispatchesAndRelease @ react-dom.development.js:581
executeDispatchesAndReleaseTopLevel @ react-dom.development.js:592
forEachAccumulated @ react-dom.development.js:562
runEventsInBatch @ react-dom.development.js:723
runExtractedEventsInBatch @ react-dom.development.js:732
handleTopLevel @ react-dom.development.js:4477
batchedUpdates$1 @ react-dom.development.js:16660
batchedUpdates @ react-dom.development.js:2131
dispatchEvent @ react-dom.development.js:4556
interactiveUpdates$1 @ react-dom.development.js:16715
interactiveUpdates @ react-dom.development.js:2150
dispatchInteractiveEvent @ react-dom.development.js:4533
index.js:2178 [GraphQL error]: Message: Cannot query field "inventoryInStock" on type "CatalogProduct"., Location: [{"line":11,"column":7}], Path: undefined
__stack_frame_overlay_proxy_console__ @ index.js:2178
(anonymous) @ initApollo.js:43
(anonymous) @ initApollo.js:41
error @ index.js:29
notifySubscription @ VM55 productGrid.js:66373
onNotify @ VM55 productGrid.js:66404
error @ VM55 productGrid.js:66463
(anonymous) @ httpLink.js:134
Promise.catch (async)
(anonymous) @ httpLink.js:95
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
(anonymous) @ index.js:17
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
(anonymous) @ index.js:20
Promise.then (async)
(anonymous) @ index.js:19
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
(anonymous) @ VM55 productGrid.js:23643
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
(anonymous) @ VM55 productGrid.js:22649
push.../../node_modules/apollo-client/core/QueryManager.js.QueryManager.fetchRequest @ VM55 productGrid.js:22647
push.../../node_modules/apollo-client/core/QueryManager.js.QueryManager.fetchQuery @ VM55 productGrid.js:22109
push.../../node_modules/apollo-client/core/QueryManager.js.QueryManager.startQuery @ VM55 productGrid.js:22518
push.../../node_modules/apollo-client/core/ObservableQuery.js.ObservableQuery.setUpQuery @ VM55 productGrid.js:21832
push.../../node_modules/apollo-client/core/ObservableQuery.js.ObservableQuery.onSubscribe @ VM55 productGrid.js:21801
(anonymous) @ VM55 productGrid.js:21464
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
Query._this.startQuerySubscription @ VM55 productGrid.js:50976
push.../../node_modules/react-apollo/react-apollo.browser.umd.js.Query.componentDidMount @ VM55 productGrid.js:51063
commitLifeCycles @ react-dom.development.js:14362
commitAllLifeCycles @ react-dom.development.js:15463
callCallback @ react-dom.development.js:100
invokeGuardedCallbackDev @ react-dom.development.js:138
invokeGuardedCallback @ react-dom.development.js:187
commitRoot @ react-dom.development.js:15604
completeRoot @ react-dom.development.js:16619
performWorkOnRoot @ react-dom.development.js:16564
performWork @ react-dom.development.js:16483
performSyncWork @ react-dom.development.js:16455
requestWork @ react-dom.development.js:16355
scheduleWork$1 @ react-dom.development.js:16219
scheduleRootUpdate @ react-dom.development.js:16786
updateContainerAtExpirationTime @ react-dom.development.js:16813
updateContainer @ react-dom.development.js:16840
ReactRoot.render @ react-dom.development.js:17123
legacyRenderSubtreeIntoContainer @ react-dom.development.js:17278
render @ react-dom.development.js:17318
renderReactElement @ index.js:338
_callee5$ @ index.js:397
tryCatch @ runtime.js:62
invoke @ runtime.js:288
prototype.(anonymous function) @ runtime.js:114
asyncGeneratorStep @ asyncToGenerator.js:5
_next @ asyncToGenerator.js:27
(anonymous) @ asyncToGenerator.js:34
F @ _export.js:36
(anonymous) @ asyncToGenerator.js:23
doRender @ index.js:343
_callee2$ @ index.js:233
tryCatch @ runtime.js:62
invoke @ runtime.js:288
prototype.(anonymous function) @ runtime.js:114
asyncGeneratorStep @ asyncToGenerator.js:5
_next @ asyncToGenerator.js:27
(anonymous) @ asyncToGenerator.js:34
F @ _export.js:36
(anonymous) @ asyncToGenerator.js:23
render @ index.js:205
(anonymous) @ index.js:177
(anonymous) @ router.js:794
(anonymous) @ _collection.js:40
notify @ router.js:793
set @ router.js:528
_callee2$ @ router.js:337
tryCatch @ runtime.js:62
invoke @ runtime.js:288
prototype.(anonymous function) @ runtime.js:114
asyncGeneratorStep @ asyncToGenerator.js:5
_next @ asyncToGenerator.js:27
Promise.then (async)
asyncGeneratorStep @ asyncToGenerator.js:15
_next @ asyncToGenerator.js:27
(anonymous) @ asyncToGenerator.js:34
F @ _export.js:36
(anonymous) @ asyncToGenerator.js:23
change @ router.js:362
push @ router.js:244
SingletonRouter.(anonymous function) @ index.js:75
(anonymous) @ link.js:121
onClick @ link.js:192
callCallback @ react-dom.development.js:100
invokeGuardedCallbackDev @ react-dom.development.js:138
invokeGuardedCallback @ react-dom.development.js:187
invokeGuardedCallbackAndCatchFirstError @ react-dom.development.js:201
executeDispatch @ react-dom.development.js:461
executeDispatchesInOrder @ react-dom.development.js:483
executeDispatchesAndRelease @ react-dom.development.js:581
executeDispatchesAndReleaseTopLevel @ react-dom.development.js:592
forEachAccumulated @ react-dom.development.js:562
runEventsInBatch @ react-dom.development.js:723
runExtractedEventsInBatch @ react-dom.development.js:732
handleTopLevel @ react-dom.development.js:4477
batchedUpdates$1 @ react-dom.development.js:16660
batchedUpdates @ react-dom.development.js:2131
dispatchEvent @ react-dom.development.js:4556
interactiveUpdates$1 @ react-dom.development.js:16715
interactiveUpdates @ react-dom.development.js:2150
dispatchInteractiveEvent @ react-dom.development.js:4533
index.js:2178 [GraphQL error]: Message: Cannot query field "canBackorder" on type "CatalogProductVariant". Did you mean "isBackorder"?, Location: [{"line":99,"column":9}], Path: undefined
__stack_frame_overlay_proxy_console__ @ index.js:2178
(anonymous) @ initApollo.js:43
(anonymous) @ initApollo.js:41
error @ index.js:29
notifySubscription @ VM55 productGrid.js:66373
onNotify @ VM55 productGrid.js:66404
error @ VM55 productGrid.js:66463
(anonymous) @ httpLink.js:134
Promise.catch (async)
(anonymous) @ httpLink.js:95
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
(anonymous) @ index.js:17
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
(anonymous) @ index.js:20
Promise.then (async)
(anonymous) @ index.js:19
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
(anonymous) @ VM55 productGrid.js:23643
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
(anonymous) @ VM55 productGrid.js:22649
push.../../node_modules/apollo-client/core/QueryManager.js.QueryManager.fetchRequest @ VM55 productGrid.js:22647
push.../../node_modules/apollo-client/core/QueryManager.js.QueryManager.fetchQuery @ VM55 productGrid.js:22109
push.../../node_modules/apollo-client/core/QueryManager.js.QueryManager.startQuery @ VM55 productGrid.js:22518
push.../../node_modules/apollo-client/core/ObservableQuery.js.ObservableQuery.setUpQuery @ VM55 productGrid.js:21832
push.../../node_modules/apollo-client/core/ObservableQuery.js.ObservableQuery.onSubscribe @ VM55 productGrid.js:21801
(anonymous) @ VM55 productGrid.js:21464
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
Query._this.startQuerySubscription @ VM55 productGrid.js:50976
push.../../node_modules/react-apollo/react-apollo.browser.umd.js.Query.componentDidMount @ VM55 productGrid.js:51063
commitLifeCycles @ react-dom.development.js:14362
commitAllLifeCycles @ react-dom.development.js:15463
callCallback @ react-dom.development.js:100
invokeGuardedCallbackDev @ react-dom.development.js:138
invokeGuardedCallback @ react-dom.development.js:187
commitRoot @ react-dom.development.js:15604
completeRoot @ react-dom.development.js:16619
performWorkOnRoot @ react-dom.development.js:16564
performWork @ react-dom.development.js:16483
performSyncWork @ react-dom.development.js:16455
requestWork @ react-dom.development.js:16355
scheduleWork$1 @ react-dom.development.js:16219
scheduleRootUpdate @ react-dom.development.js:16786
updateContainerAtExpirationTime @ react-dom.development.js:16813
updateContainer @ react-dom.development.js:16840
ReactRoot.render @ react-dom.development.js:17123
legacyRenderSubtreeIntoContainer @ react-dom.development.js:17278
render @ react-dom.development.js:17318
renderReactElement @ index.js:338
_callee5$ @ index.js:397
tryCatch @ runtime.js:62
invoke @ runtime.js:288
prototype.(anonymous function) @ runtime.js:114
asyncGeneratorStep @ asyncToGenerator.js:5
_next @ asyncToGenerator.js:27
(anonymous) @ asyncToGenerator.js:34
F @ _export.js:36
(anonymous) @ asyncToGenerator.js:23
doRender @ index.js:343
_callee2$ @ index.js:233
tryCatch @ runtime.js:62
invoke @ runtime.js:288
prototype.(anonymous function) @ runtime.js:114
asyncGeneratorStep @ asyncToGenerator.js:5
_next @ asyncToGenerator.js:27
(anonymous) @ asyncToGenerator.js:34
F @ _export.js:36
(anonymous) @ asyncToGenerator.js:23
render @ index.js:205
(anonymous) @ index.js:177
(anonymous) @ router.js:794
(anonymous) @ _collection.js:40
notify @ router.js:793
set @ router.js:528
_callee2$ @ router.js:337
tryCatch @ runtime.js:62
invoke @ runtime.js:288
prototype.(anonymous function) @ runtime.js:114
asyncGeneratorStep @ asyncToGenerator.js:5
_next @ asyncToGenerator.js:27
Promise.then (async)
asyncGeneratorStep @ asyncToGenerator.js:15
_next @ asyncToGenerator.js:27
(anonymous) @ asyncToGenerator.js:34
F @ _export.js:36
(anonymous) @ asyncToGenerator.js:23
change @ router.js:362
push @ router.js:244
SingletonRouter.(anonymous function) @ index.js:75
(anonymous) @ link.js:121
onClick @ link.js:192
callCallback @ react-dom.development.js:100
invokeGuardedCallbackDev @ react-dom.development.js:138
invokeGuardedCallback @ react-dom.development.js:187
invokeGuardedCallbackAndCatchFirstError @ react-dom.development.js:201
executeDispatch @ react-dom.development.js:461
executeDispatchesInOrder @ react-dom.development.js:483
executeDispatchesAndRelease @ react-dom.development.js:581
executeDispatchesAndReleaseTopLevel @ react-dom.development.js:592
forEachAccumulated @ react-dom.development.js:562
runEventsInBatch @ react-dom.development.js:723
runExtractedEventsInBatch @ react-dom.development.js:732
handleTopLevel @ react-dom.development.js:4477
batchedUpdates$1 @ react-dom.development.js:16660
batchedUpdates @ react-dom.development.js:2131
dispatchEvent @ react-dom.development.js:4556
interactiveUpdates$1 @ react-dom.development.js:16715
interactiveUpdates @ react-dom.development.js:2150
dispatchInteractiveEvent @ react-dom.development.js:4533
index.js:2178 [GraphQL error]: Message: Cannot query field "inventoryAvailableToSell" on type "CatalogProductVariant". Did you mean "inventoryManagement"?, Location: [{"line":100,"column":9}], Path: undefined
__stack_frame_overlay_proxy_console__ @ index.js:2178
(anonymous) @ initApollo.js:43
(anonymous) @ initApollo.js:41
error @ index.js:29
notifySubscription @ VM55 productGrid.js:66373
onNotify @ VM55 productGrid.js:66404
error @ VM55 productGrid.js:66463
(anonymous) @ httpLink.js:134
Promise.catch (async)
(anonymous) @ httpLink.js:95
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
(anonymous) @ index.js:17
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
(anonymous) @ index.js:20
Promise.then (async)
(anonymous) @ index.js:19
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
(anonymous) @ VM55 productGrid.js:23643
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
(anonymous) @ VM55 productGrid.js:22649
push.../../node_modules/apollo-client/core/QueryManager.js.QueryManager.fetchRequest @ VM55 productGrid.js:22647
push.../../node_modules/apollo-client/core/QueryManager.js.QueryManager.fetchQuery @ VM55 productGrid.js:22109
push.../../node_modules/apollo-client/core/QueryManager.js.QueryManager.startQuery @ VM55 productGrid.js:22518
push.../../node_modules/apollo-client/core/ObservableQuery.js.ObservableQuery.setUpQuery @ VM55 productGrid.js:21832
push.../../node_modules/apollo-client/core/ObservableQuery.js.ObservableQuery.onSubscribe @ VM55 productGrid.js:21801
(anonymous) @ VM55 productGrid.js:21464
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
Query._this.startQuerySubscription @ VM55 productGrid.js:50976
push.../../node_modules/react-apollo/react-apollo.browser.umd.js.Query.componentDidMount @ VM55 productGrid.js:51063
commitLifeCycles @ react-dom.development.js:14362
commitAllLifeCycles @ react-dom.development.js:15463
callCallback @ react-dom.development.js:100
invokeGuardedCallbackDev @ react-dom.development.js:138
invokeGuardedCallback @ react-dom.development.js:187
commitRoot @ react-dom.development.js:15604
completeRoot @ react-dom.development.js:16619
performWorkOnRoot @ react-dom.development.js:16564
performWork @ react-dom.development.js:16483
performSyncWork @ react-dom.development.js:16455
requestWork @ react-dom.development.js:16355
scheduleWork$1 @ react-dom.development.js:16219
scheduleRootUpdate @ react-dom.development.js:16786
updateContainerAtExpirationTime @ react-dom.development.js:16813
updateContainer @ react-dom.development.js:16840
ReactRoot.render @ react-dom.development.js:17123
legacyRenderSubtreeIntoContainer @ react-dom.development.js:17278
render @ react-dom.development.js:17318
renderReactElement @ index.js:338
_callee5$ @ index.js:397
tryCatch @ runtime.js:62
invoke @ runtime.js:288
prototype.(anonymous function) @ runtime.js:114
asyncGeneratorStep @ asyncToGenerator.js:5
_next @ asyncToGenerator.js:27
(anonymous) @ asyncToGenerator.js:34
F @ _export.js:36
(anonymous) @ asyncToGenerator.js:23
doRender @ index.js:343
_callee2$ @ index.js:233
tryCatch @ runtime.js:62
invoke @ runtime.js:288
prototype.(anonymous function) @ runtime.js:114
asyncGeneratorStep @ asyncToGenerator.js:5
_next @ asyncToGenerator.js:27
(anonymous) @ asyncToGenerator.js:34
F @ _export.js:36
(anonymous) @ asyncToGenerator.js:23
render @ index.js:205
(anonymous) @ index.js:177
(anonymous) @ router.js:794
(anonymous) @ _collection.js:40
notify @ router.js:793
set @ router.js:528
_callee2$ @ router.js:337
tryCatch @ runtime.js:62
invoke @ runtime.js:288
prototype.(anonymous function) @ runtime.js:114
asyncGeneratorStep @ asyncToGenerator.js:5
_next @ asyncToGenerator.js:27
Promise.then (async)
asyncGeneratorStep @ asyncToGenerator.js:15
_next @ asyncToGenerator.js:27
(anonymous) @ asyncToGenerator.js:34
F @ _export.js:36
(anonymous) @ asyncToGenerator.js:23
change @ router.js:362
push @ router.js:244
SingletonRouter.(anonymous function) @ index.js:75
(anonymous) @ link.js:121
onClick @ link.js:192
callCallback @ react-dom.development.js:100
invokeGuardedCallbackDev @ react-dom.development.js:138
invokeGuardedCallback @ react-dom.development.js:187
invokeGuardedCallbackAndCatchFirstError @ react-dom.development.js:201
executeDispatch @ react-dom.development.js:461
executeDispatchesInOrder @ react-dom.development.js:483
executeDispatchesAndRelease @ react-dom.development.js:581
executeDispatchesAndReleaseTopLevel @ react-dom.development.js:592
forEachAccumulated @ react-dom.development.js:562
runEventsInBatch @ react-dom.development.js:723
runExtractedEventsInBatch @ react-dom.development.js:732
handleTopLevel @ react-dom.development.js:4477
batchedUpdates$1 @ react-dom.development.js:16660
batchedUpdates @ react-dom.development.js:2131
dispatchEvent @ react-dom.development.js:4556
interactiveUpdates$1 @ react-dom.development.js:16715
interactiveUpdates @ react-dom.development.js:2150
dispatchInteractiveEvent @ react-dom.development.js:4533
index.js:2178 [GraphQL error]: Message: Cannot query field "inventoryInStock" on type "CatalogProductVariant". Did you mean "inventoryPolicy" or "inventoryManagement"?, Location: [{"line":101,"column":9}], Path: undefined
__stack_frame_overlay_proxy_console__ @ index.js:2178
(anonymous) @ initApollo.js:43
(anonymous) @ initApollo.js:41
error @ index.js:29
notifySubscription @ VM55 productGrid.js:66373
onNotify @ VM55 productGrid.js:66404
error @ VM55 productGrid.js:66463
(anonymous) @ httpLink.js:134
Promise.catch (async)
(anonymous) @ httpLink.js:95
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
(anonymous) @ index.js:17
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
(anonymous) @ index.js:20
Promise.then (async)
(anonymous) @ index.js:19
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
(anonymous) @ VM55 productGrid.js:23643
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
(anonymous) @ VM55 productGrid.js:22649
push.../../node_modules/apollo-client/core/QueryManager.js.QueryManager.fetchRequest @ VM55 productGrid.js:22647
push.../../node_modules/apollo-client/core/QueryManager.js.QueryManager.fetchQuery @ VM55 productGrid.js:22109
push.../../node_modules/apollo-client/core/QueryManager.js.QueryManager.startQuery @ VM55 productGrid.js:22518
push.../../node_modules/apollo-client/core/ObservableQuery.js.ObservableQuery.setUpQuery @ VM55 productGrid.js:21832
push.../../node_modules/apollo-client/core/ObservableQuery.js.ObservableQuery.onSubscribe @ VM55 productGrid.js:21801
(anonymous) @ VM55 productGrid.js:21464
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
Query._this.startQuerySubscription @ VM55 productGrid.js:50976
push.../../node_modules/react-apollo/react-apollo.browser.umd.js.Query.componentDidMount @ VM55 productGrid.js:51063
commitLifeCycles @ react-dom.development.js:14362
commitAllLifeCycles @ react-dom.development.js:15463
callCallback @ react-dom.development.js:100
invokeGuardedCallbackDev @ react-dom.development.js:138
invokeGuardedCallback @ react-dom.development.js:187
commitRoot @ react-dom.development.js:15604
completeRoot @ react-dom.development.js:16619
performWorkOnRoot @ react-dom.development.js:16564
performWork @ react-dom.development.js:16483
performSyncWork @ react-dom.development.js:16455
requestWork @ react-dom.development.js:16355
scheduleWork$1 @ react-dom.development.js:16219
scheduleRootUpdate @ react-dom.development.js:16786
updateContainerAtExpirationTime @ react-dom.development.js:16813
updateContainer @ react-dom.development.js:16840
ReactRoot.render @ react-dom.development.js:17123
legacyRenderSubtreeIntoContainer @ react-dom.development.js:17278
render @ react-dom.development.js:17318
renderReactElement @ index.js:338
_callee5$ @ index.js:397
tryCatch @ runtime.js:62
invoke @ runtime.js:288
prototype.(anonymous function) @ runtime.js:114
asyncGeneratorStep @ asyncToGenerator.js:5
_next @ asyncToGenerator.js:27
(anonymous) @ asyncToGenerator.js:34
F @ _export.js:36
(anonymous) @ asyncToGenerator.js:23
doRender @ index.js:343
_callee2$ @ index.js:233
tryCatch @ runtime.js:62
invoke @ runtime.js:288
prototype.(anonymous function) @ runtime.js:114
asyncGeneratorStep @ asyncToGenerator.js:5
_next @ asyncToGenerator.js:27
(anonymous) @ asyncToGenerator.js:34
F @ _export.js:36
(anonymous) @ asyncToGenerator.js:23
render @ index.js:205
(anonymous) @ index.js:177
(anonymous) @ router.js:794
(anonymous) @ _collection.js:40
notify @ router.js:793
set @ router.js:528
_callee2$ @ router.js:337
tryCatch @ runtime.js:62
invoke @ runtime.js:288
prototype.(anonymous function) @ runtime.js:114
asyncGeneratorStep @ asyncToGenerator.js:5
_next @ asyncToGenerator.js:27
Promise.then (async)
asyncGeneratorStep @ asyncToGenerator.js:15
_next @ asyncToGenerator.js:27
(anonymous) @ asyncToGenerator.js:34
F @ _export.js:36
(anonymous) @ asyncToGenerator.js:23
change @ router.js:362
push @ router.js:244
SingletonRouter.(anonymous function) @ index.js:75
(anonymous) @ link.js:121
onClick @ link.js:192
callCallback @ react-dom.development.js:100
invokeGuardedCallbackDev @ react-dom.development.js:138
invokeGuardedCallback @ react-dom.development.js:187
invokeGuardedCallbackAndCatchFirstError @ react-dom.development.js:201
executeDispatch @ react-dom.development.js:461
executeDispatchesInOrder @ react-dom.development.js:483
executeDispatchesAndRelease @ react-dom.development.js:581
executeDispatchesAndReleaseTopLevel @ react-dom.development.js:592
forEachAccumulated @ react-dom.development.js:562
runEventsInBatch @ react-dom.development.js:723
runExtractedEventsInBatch @ react-dom.development.js:732
handleTopLevel @ react-dom.development.js:4477
batchedUpdates$1 @ react-dom.development.js:16660
batchedUpdates @ react-dom.development.js:2131
dispatchEvent @ react-dom.development.js:4556
interactiveUpdates$1 @ react-dom.development.js:16715
interactiveUpdates @ react-dom.development.js:2150
dispatchInteractiveEvent @ react-dom.development.js:4533
index.js:2178 [GraphQL error]: Message: Cannot query field "canBackorder" on type "CatalogProductVariant". Did you mean "isBackorder"?, Location: [{"line":124,"column":11}], Path: undefined
__stack_frame_overlay_proxy_console__ @ index.js:2178
(anonymous) @ initApollo.js:43
(anonymous) @ initApollo.js:41
error @ index.js:29
notifySubscription @ VM55 productGrid.js:66373
onNotify @ VM55 productGrid.js:66404
error @ VM55 productGrid.js:66463
(anonymous) @ httpLink.js:134
Promise.catch (async)
(anonymous) @ httpLink.js:95
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
(anonymous) @ index.js:17
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
(anonymous) @ index.js:20
Promise.then (async)
(anonymous) @ index.js:19
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
(anonymous) @ VM55 productGrid.js:23643
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
(anonymous) @ VM55 productGrid.js:22649
push.../../node_modules/apollo-client/core/QueryManager.js.QueryManager.fetchRequest @ VM55 productGrid.js:22647
push.../../node_modules/apollo-client/core/QueryManager.js.QueryManager.fetchQuery @ VM55 productGrid.js:22109
push.../../node_modules/apollo-client/core/QueryManager.js.QueryManager.startQuery @ VM55 productGrid.js:22518
push.../../node_modules/apollo-client/core/ObservableQuery.js.ObservableQuery.setUpQuery @ VM55 productGrid.js:21832
push.../../node_modules/apollo-client/core/ObservableQuery.js.ObservableQuery.onSubscribe @ VM55 productGrid.js:21801
(anonymous) @ VM55 productGrid.js:21464
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
Query._this.startQuerySubscription @ VM55 productGrid.js:50976
push.../../node_modules/react-apollo/react-apollo.browser.umd.js.Query.componentDidMount @ VM55 productGrid.js:51063
commitLifeCycles @ react-dom.development.js:14362
commitAllLifeCycles @ react-dom.development.js:15463
callCallback @ react-dom.development.js:100
invokeGuardedCallbackDev @ react-dom.development.js:138
invokeGuardedCallback @ react-dom.development.js:187
commitRoot @ react-dom.development.js:15604
completeRoot @ react-dom.development.js:16619
performWorkOnRoot @ react-dom.development.js:16564
performWork @ react-dom.development.js:16483
performSyncWork @ react-dom.development.js:16455
requestWork @ react-dom.development.js:16355
scheduleWork$1 @ react-dom.development.js:16219
scheduleRootUpdate @ react-dom.development.js:16786
updateContainerAtExpirationTime @ react-dom.development.js:16813
updateContainer @ react-dom.development.js:16840
ReactRoot.render @ react-dom.development.js:17123
legacyRenderSubtreeIntoContainer @ react-dom.development.js:17278
render @ react-dom.development.js:17318
renderReactElement @ index.js:338
_callee5$ @ index.js:397
tryCatch @ runtime.js:62
invoke @ runtime.js:288
prototype.(anonymous function) @ runtime.js:114
asyncGeneratorStep @ asyncToGenerator.js:5
_next @ asyncToGenerator.js:27
(anonymous) @ asyncToGenerator.js:34
F @ _export.js:36
(anonymous) @ asyncToGenerator.js:23
doRender @ index.js:343
_callee2$ @ index.js:233
tryCatch @ runtime.js:62
invoke @ runtime.js:288
prototype.(anonymous function) @ runtime.js:114
asyncGeneratorStep @ asyncToGenerator.js:5
_next @ asyncToGenerator.js:27
(anonymous) @ asyncToGenerator.js:34
F @ _export.js:36
(anonymous) @ asyncToGenerator.js:23
render @ index.js:205
(anonymous) @ index.js:177
(anonymous) @ router.js:794
(anonymous) @ _collection.js:40
notify @ router.js:793
set @ router.js:528
_callee2$ @ router.js:337
tryCatch @ runtime.js:62
invoke @ runtime.js:288
prototype.(anonymous function) @ runtime.js:114
asyncGeneratorStep @ asyncToGenerator.js:5
_next @ asyncToGenerator.js:27
Promise.then (async)
asyncGeneratorStep @ asyncToGenerator.js:15
_next @ asyncToGenerator.js:27
(anonymous) @ asyncToGenerator.js:34
F @ _export.js:36
(anonymous) @ asyncToGenerator.js:23
change @ router.js:362
push @ router.js:244
SingletonRouter.(anonymous function) @ index.js:75
(anonymous) @ link.js:121
onClick @ link.js:192
callCallback @ react-dom.development.js:100
invokeGuardedCallbackDev @ react-dom.development.js:138
invokeGuardedCallback @ react-dom.development.js:187
invokeGuardedCallbackAndCatchFirstError @ react-dom.development.js:201
executeDispatch @ react-dom.development.js:461
executeDispatchesInOrder @ react-dom.development.js:483
executeDispatchesAndRelease @ react-dom.development.js:581
executeDispatchesAndReleaseTopLevel @ react-dom.development.js:592
forEachAccumulated @ react-dom.development.js:562
runEventsInBatch @ react-dom.development.js:723
runExtractedEventsInBatch @ react-dom.development.js:732
handleTopLevel @ react-dom.development.js:4477
batchedUpdates$1 @ react-dom.development.js:16660
batchedUpdates @ react-dom.development.js:2131
dispatchEvent @ react-dom.development.js:4556
interactiveUpdates$1 @ react-dom.development.js:16715
interactiveUpdates @ react-dom.development.js:2150
dispatchInteractiveEvent @ react-dom.development.js:4533
index.js:2178 [GraphQL error]: Message: Cannot query field "inventoryAvailableToSell" on type "CatalogProductVariant". Did you mean "inventoryManagement"?, Location: [{"line":125,"column":11}], Path: undefined
__stack_frame_overlay_proxy_console__ @ index.js:2178
(anonymous) @ initApollo.js:43
(anonymous) @ initApollo.js:41
error @ index.js:29
notifySubscription @ VM55 productGrid.js:66373
onNotify @ VM55 productGrid.js:66404
error @ VM55 productGrid.js:66463
(anonymous) @ httpLink.js:134
Promise.catch (async)
(anonymous) @ httpLink.js:95
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
(anonymous) @ index.js:17
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
(anonymous) @ index.js:20
Promise.then (async)
(anonymous) @ index.js:19
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
(anonymous) @ VM55 productGrid.js:23643
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
(anonymous) @ VM55 productGrid.js:22649
push.../../node_modules/apollo-client/core/QueryManager.js.QueryManager.fetchRequest @ VM55 productGrid.js:22647
push.../../node_modules/apollo-client/core/QueryManager.js.QueryManager.fetchQuery @ VM55 productGrid.js:22109
push.../../node_modules/apollo-client/core/QueryManager.js.QueryManager.startQuery @ VM55 productGrid.js:22518
push.../../node_modules/apollo-client/core/ObservableQuery.js.ObservableQuery.setUpQuery @ VM55 productGrid.js:21832
push.../../node_modules/apollo-client/core/ObservableQuery.js.ObservableQuery.onSubscribe @ VM55 productGrid.js:21801
(anonymous) @ VM55 productGrid.js:21464
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
Query._this.startQuerySubscription @ VM55 productGrid.js:50976
push.../../node_modules/react-apollo/react-apollo.browser.umd.js.Query.componentDidMount @ VM55 productGrid.js:51063
commitLifeCycles @ react-dom.development.js:14362
commitAllLifeCycles @ react-dom.development.js:15463
callCallback @ react-dom.development.js:100
invokeGuardedCallbackDev @ react-dom.development.js:138
invokeGuardedCallback @ react-dom.development.js:187
commitRoot @ react-dom.development.js:15604
completeRoot @ react-dom.development.js:16619
performWorkOnRoot @ react-dom.development.js:16564
performWork @ react-dom.development.js:16483
performSyncWork @ react-dom.development.js:16455
requestWork @ react-dom.development.js:16355
scheduleWork$1 @ react-dom.development.js:16219
scheduleRootUpdate @ react-dom.development.js:16786
updateContainerAtExpirationTime @ react-dom.development.js:16813
updateContainer @ react-dom.development.js:16840
ReactRoot.render @ react-dom.development.js:17123
legacyRenderSubtreeIntoContainer @ react-dom.development.js:17278
render @ react-dom.development.js:17318
renderReactElement @ index.js:338
_callee5$ @ index.js:397
tryCatch @ runtime.js:62
invoke @ runtime.js:288
prototype.(anonymous function) @ runtime.js:114
asyncGeneratorStep @ asyncToGenerator.js:5
_next @ asyncToGenerator.js:27
(anonymous) @ asyncToGenerator.js:34
F @ _export.js:36
(anonymous) @ asyncToGenerator.js:23
doRender @ index.js:343
_callee2$ @ index.js:233
tryCatch @ runtime.js:62
invoke @ runtime.js:288
prototype.(anonymous function) @ runtime.js:114
asyncGeneratorStep @ asyncToGenerator.js:5
_next @ asyncToGenerator.js:27
(anonymous) @ asyncToGenerator.js:34
F @ _export.js:36
(anonymous) @ asyncToGenerator.js:23
render @ index.js:205
(anonymous) @ index.js:177
(anonymous) @ router.js:794
(anonymous) @ _collection.js:40
notify @ router.js:793
set @ router.js:528
_callee2$ @ router.js:337
tryCatch @ runtime.js:62
invoke @ runtime.js:288
prototype.(anonymous function) @ runtime.js:114
asyncGeneratorStep @ asyncToGenerator.js:5
_next @ asyncToGenerator.js:27
Promise.then (async)
asyncGeneratorStep @ asyncToGenerator.js:15
_next @ asyncToGenerator.js:27
(anonymous) @ asyncToGenerator.js:34
F @ _export.js:36
(anonymous) @ asyncToGenerator.js:23
change @ router.js:362
push @ router.js:244
SingletonRouter.(anonymous function) @ index.js:75
(anonymous) @ link.js:121
onClick @ link.js:192
callCallback @ react-dom.development.js:100
invokeGuardedCallbackDev @ react-dom.development.js:138
invokeGuardedCallback @ react-dom.development.js:187
invokeGuardedCallbackAndCatchFirstError @ react-dom.development.js:201
executeDispatch @ react-dom.development.js:461
executeDispatchesInOrder @ react-dom.development.js:483
executeDispatchesAndRelease @ react-dom.development.js:581
executeDispatchesAndReleaseTopLevel @ react-dom.development.js:592
forEachAccumulated @ react-dom.development.js:562
runEventsInBatch @ react-dom.development.js:723
runExtractedEventsInBatch @ react-dom.development.js:732
handleTopLevel @ react-dom.development.js:4477
batchedUpdates$1 @ react-dom.development.js:16660
batchedUpdates @ react-dom.development.js:2131
dispatchEvent @ react-dom.development.js:4556
interactiveUpdates$1 @ react-dom.development.js:16715
interactiveUpdates @ react-dom.development.js:2150
dispatchInteractiveEvent @ react-dom.development.js:4533
index.js:2178 [GraphQL error]: Message: Cannot query field "inventoryInStock" on type "CatalogProductVariant". Did you mean "inventoryPolicy" or "inventoryManagement"?, Location: [{"line":126,"column":11}], Path: undefined
__stack_frame_overlay_proxy_console__ @ index.js:2178
(anonymous) @ initApollo.js:43
(anonymous) @ initApollo.js:41
error @ index.js:29
notifySubscription @ VM55 productGrid.js:66373
onNotify @ VM55 productGrid.js:66404
error @ VM55 productGrid.js:66463
(anonymous) @ httpLink.js:134
Promise.catch (async)
(anonymous) @ httpLink.js:95
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
(anonymous) @ index.js:17
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
(anonymous) @ index.js:20
Promise.then (async)
(anonymous) @ index.js:19
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
(anonymous) @ VM55 productGrid.js:23643
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
(anonymous) @ VM55 productGrid.js:22649
push.../../node_modules/apollo-client/core/QueryManager.js.QueryManager.fetchRequest @ VM55 productGrid.js:22647
push.../../node_modules/apollo-client/core/QueryManager.js.QueryManager.fetchQuery @ VM55 productGrid.js:22109
push.../../node_modules/apollo-client/core/QueryManager.js.QueryManager.startQuery @ VM55 productGrid.js:22518
push.../../node_modules/apollo-client/core/ObservableQuery.js.ObservableQuery.setUpQuery @ VM55 productGrid.js:21832
push.../../node_modules/apollo-client/core/ObservableQuery.js.ObservableQuery.onSubscribe @ VM55 productGrid.js:21801
(anonymous) @ VM55 productGrid.js:21464
Subscription @ VM55 productGrid.js:66422
subscribe @ VM55 productGrid.js:66501
Query._this.startQuerySubscription @ VM55 productGrid.js:50976
push.../../node_modules/react-apollo/react-apollo.browser.umd.js.Query.componentDidMount @ VM55 productGrid.js:51063
commitLifeCycles @ react-dom.development.js:14362
commitAllLifeCycles @ react-dom.development.js:15463
callCallback @ react-dom.development.js:100
invokeGuardedCallbackDev @ react-dom.development.js:138
invokeGuardedCallback @ react-dom.development.js:187
commitRoot @ react-dom.development.js:15604
completeRoot @ react-dom.development.js:16619
performWorkOnRoot @ react-dom.development.js:16564
performWork @ react-dom.development.js:16483
performSyncWork @ react-dom.development.js:16455
requestWork @ react-dom.development.js:16355
scheduleWork$1 @ react-dom.development.js:16219
scheduleRootUpdate @ react-dom.development.js:16786
updateContainerAtExpirationTime @ react-dom.development.js:16813
updateContainer @ react-dom.development.js:16840
ReactRoot.render @ react-dom.development.js:17123
legacyRenderSubtreeIntoContainer @ react-dom.development.js:17278
render @ react-dom.development.js:17318
renderReactElement @ index.js:338
_callee5$ @ index.js:397
tryCatch @ runtime.js:62
invoke @ runtime.js:288
prototype.(anonymous function) @ runtime.js:114
asyncGeneratorStep @ asyncToGenerator.js:5
_next @ asyncToGenerator.js:27
(anonymous) @ asyncToGenerator.js:34
F @ _export.js:36
(anonymous) @ asyncToGenerator.js:23
doRender @ index.js:343
_callee2$ @ index.js:233
tryCatch @ runtime.js:62
invoke @ runtime.js:288
prototype.(anonymous function) @ runtime.js:114
asyncGeneratorStep @ asyncToGenerator.js:5
_next @ asyncToGenerator.js:27
(anonymous) @ asyncToGenerator.js:34
F @ _export.js:36
(anonymous) @ asyncToGenerator.js:23
render @ index.js:205
(anonymous) @ index.js:177
(anonymous) @ router.js:794
(anonymous) @ _collection.js:40
notify @ router.js:793
set @ router.js:528
_callee2$ @ router.js:337
tryCatch @ runtime.js:62
invoke @ runtime.js:288
prototype.(anonymous function) @ runtime.js:114
asyncGeneratorStep @ asyncToGenerator.js:5
_next @ asyncToGenerator.js:27
Promise.then (async)
asyncGeneratorStep @ asyncToGenerator.js:15
_next @ asyncToGenerator.js:27
(anonymous) @ asyncToGenerator.js:34
F @ _export.js:36
(anonymous) @ asyncToGenerator.js:23
change @ router.js:362
push @ router.js:244
SingletonRouter.(anonymous function) @ index.js:75
(anonymous) @ link.js:121
onClick @ link.js:192
callCallback @ react-dom.development.js:100
invokeGuardedCallbackDev @ react-dom.development.js:138
invokeGuardedCallback @ react-dom.development.js:187
invokeGuardedCallbackAndCatchFirstError @ react-dom.development.js:201
executeDispatch @ react-dom.development.js:461
executeDispatchesInOrder @ react-dom.development.js:483
executeDispatchesAndRelease @ react-dom.development.js:581
executeDispatchesAndReleaseTopLevel @ react-dom.development.js:592
forEachAccumulated @ react-dom.development.js:562
runEventsInBatch @ react-dom.development.js:723
runExtractedEventsInBatch @ react-dom.development.js:732
handleTopLevel @ react-dom.development.js:4477
batchedUpdates$1 @ react-dom.development.js:16660
batchedUpdates @ react-dom.development.js:2131
dispatchEvent @ react-dom.development.js:4556
interactiveUpdates$1 @ react-dom.development.js:16715
interactiveUpdates @ react-dom.development.js:2150
dispatchInteractiveEvent @ react-dom.development.js:4533
index.js:2178 Unable to access the GraphQL API. Is it running and accessible at http://localhost:3000/graphql-alpha from the Storefront UI server?

Starterkit Version : 2.0.0-rc.8 (#480)

@jeffcorpuz jeffcorpuz added the bug For issues that describe a defect or regression in the released software label Jan 15, 2019
@spencern
Copy link
Contributor

spencern commented Jan 15, 2019

@jeffcorpuz which version/branch of reaction are were you using?

@jeffcorpuz
Copy link
Contributor Author

@spencern I used both master and tag/v2.0.0-rc.8 to see if there is a configuration error.

@MoustafaBayommy
Copy link

Any solution for this ? I had got the same error.

@jeffcorpuz
Copy link
Contributor Author

Hi @MoustafaBayommy this bug has been addressed for the upcoming release. (#483)

It is fixed through this inventory PR: (reactioncommerce/reaction#4859)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug For issues that describe a defect or regression in the released software
Projects
None yet
Development

No branches or pull requests

3 participants