I’m having trouble with the Shopify Connector. When setting up an item (though “Upload New ERPNext Items to Shopify” is not checked/enabled) I get the following error. Same error shows up when I try to Uncheck the “Enable Shopify” Checkbox in the Shopify Setting screen and try and save, I get the same error. Any suggestions?



App Versions

	"ecommerce_integrations": "1.15.4",
	"erpnext": "13.50.0",
	"frappe": "13.56.1"


Form/Shopify Setting/Shopify Setting


Traceback (most recent call last):
  File "env/lib/python3.8/site-packages/shopify/", line 17, in coerce_to_version
    return cls.versions[version]
KeyError: '2022-04'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "apps/frappe/frappe/", line 66, in application
    response = frappe.api.handle()
  File "apps/frappe/frappe/", line 55, in handle
    return frappe.handler.handle()
  File "apps/frappe/frappe/", line 38, in handle
    data = execute_cmd(cmd)
  File "apps/frappe/frappe/", line 76, in execute_cmd
    return, **frappe.form_dict)
  File "apps/frappe/frappe/", line 1473, in call
    return fn(*args, **newargs)
  File "apps/frappe/frappe/desk/form/", line 25, in savedocs
  File "apps/frappe/frappe/model/", line 312, in save
    return self._save(*args, **kwargs)
  File "apps/frappe/frappe/model/", line 349, in _save
  File "apps/frappe/frappe/model/", line 1054, in run_before_save_methods
  File "apps/frappe/frappe/model/", line 943, in run_method
    out = Document.hook(fn)(self, *args, **kwargs)
  File "apps/frappe/frappe/model/", line 1264, in composer
    return composed(self, method, *args, **kwargs)
  File "apps/frappe/frappe/model/", line 1246, in runner
    add_to_return_value(self, fn(self, *args, **kwargs))
  File "apps/frappe/frappe/model/", line 940, in fn
    return method_object(*args, **kwargs)
  File "apps/ecommerce_integrations/ecommerce_integrations/shopify/doctype/shopify_setting/", line 43, in validate
  File "apps/ecommerce_integrations/ecommerce_integrations/shopify/doctype/shopify_setting/", line 71, in _handle_webhooks
    connection.unregister_webhooks(self.shopify_url, self.get_password("password"))
  File "apps/ecommerce_integrations/ecommerce_integrations/shopify/", line 65, in unregister_webhooks
    with Session.temp(shopify_url, API_VERSION, password):
  File "/usr/lib/python3.8/", line 113, in __enter__
    return next(self.gen)
  File "env/lib/python3.8/site-packages/shopify/", line 37, in temp
    original_session = shopify.Session(original_domain, original_version, original_token)
  File "env/lib/python3.8/site-packages/shopify/", line 47, in __init__
    self.version = ApiVersion.coerce_to_version(version)
  File "env/lib/python3.8/site-packages/shopify/", line 19, in coerce_to_version
    raise VersionNotFoundError