Shopify_App Deployed Store

Solved
mrfochon
Excursionist
22 1 4

after a couple of tentative to nodejs error it is down to rejecting the webhook and ngrok throwing an error on /graphql

 

node error:

Failed to register webhook {
  data: {
    webhookSubscriptionCreate: { userErrors: [Array], webhookSubscription: null }
  },
  extensions: {
    cost: {
      requestedQueryCost: 10,
      actualQueryCost: 10,
      throttleStatus: [Object]
    }
  }
}

ngrok error:

POST /graphql                                                406 Not Acceptable

any though on where to fix that ?

0 Likes
Echizen
New Member
2 1 3

This is an accepted solution.

Check if your event version on your app setup page is the same as the version on your server: 

server.use(graphQLProxy({ version: ApiVersion.April20 }));

https://community.shopify.com/c/Shopify-APIs-SDKs/return-406-Not-Acceptable-when-Post-graphql/m-p/76...

0 Likes