Graphql error with presentmentPrice

Hello

since today we have an error making a query to our shopify store.We receive an error stating that the presentmenrPrice field is missing.

Can anyone help me understand where the issue is ?

{
	"errors": [
		{
			"message": "Field 'presentmentPrices' doesn't exist on type 'ProductVariant'",
			"locations": [
				{
					"line": 1,
					"column": 94
				}
			],
			"path": [
				"fragment VariantFragment",
				"presentmentPrices"
			],
			"extensions": {
				"code": "undefinedField",
				"typeName": "ProductVariant",
				"fieldName": "presentmentPrices"
			}
		},
		{
			"message": "Field 'description' doesn't exist on type 'ScriptDiscountApplication'",
			"locations": [
				{
					"line": 1,
					"column": 904
				}
			],
			"path": [
				"fragment DiscountApplicationFragment",
				"... on ScriptDiscountApplication",
				"description"
			],
			"extensions": {
				"code": "undefinedField",
				"typeName": "ScriptDiscountApplication",
				"fieldName": "description"
			}
		}
	]
}

thanks a lot by advance

I’m having the same issue. My Storefront stopped working, luckily it was just a development project. I also tried to use the new contextualpricing along with version 2022-07 without success:

{
  "errors": [
    {
      "message": "Field 'contextualPricing' doesn't exist on type 'ProductVariant'",
      "locations": [
        {
          "line": 41,
          "column": 17
        }
      ],
      "path": [
        "query",
        "products",
        "edges",
        "node",
        "variants",
        "edges",
        "node",
        "contextualPricing"
      ],
      "extensions": {
        "code": "undefinedField",
        "typeName": "ProductVariant",
        "fieldName": "contextualPricing"
      }
    }
  ]
}

Please keep me updated if you make any progress.

In my case the solution was to update the shopify/js-buy-sdk library, going from 2.10.0 to 2.18.0 did the trick.

https://github.com/Shopify/js-buy-sdk/blob/master/CHANGELOG.md

Hope it helps you.

Unfortunately that didn’t help me. Do you use presentmentprices or contextualpricing and which api version are you using?

Kind Regards

Julian