I installed the latest ERPNext 11 to test and I seem to get the same error. But since I now get more details I am appending it here:
Traceback (most recent call last):
File “/home/gkis/frappe-bench/apps/erpnext/erpnext/erpnext_integrations/doctype/shopify_settings/shopify_settings.py”, line 58, in register_webhooks
d.raise_for_status()
File “/home/gkis/frappe-bench/env/lib/python3.5/site-packages/requests/models.py”, line 941, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 422 Client Error: Unprocessable Entity for url: https://5ba1c64727f27616b46a0fba1bb81c28:fc464e740f63df3a437e7992eebf8ec4@gkiserptest2.myshopify.com/admin/webhooks.json
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/home/gkis/frappe-bench/apps/frappe/frappe/desk/form/save.py”, line 22, in savedocs
doc.save()
File “/home/gkis/frappe-bench/apps/frappe/frappe/model/document.py”, line 260, in save
return self._save(*args, **kwargs)
File “/home/gkis/frappe-bench/apps/frappe/frappe/model/document.py”, line 296, in _save
self.run_before_save_methods()
File “/home/gkis/frappe-bench/apps/frappe/frappe/model/document.py”, line 876, in run_before_save_methods
self.run_method(“validate”)
File “/home/gkis/frappe-bench/apps/frappe/frappe/model/document.py”, line 772, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/gkis/frappe-bench/apps/frappe/frappe/model/document.py”, line 1048, in composer
return composed(self, method, *args, **kwargs)
File “/home/gkis/frappe-bench/apps/frappe/frappe/model/document.py”, line 1031, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/gkis/frappe-bench/apps/frappe/frappe/model/document.py”, line 766, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/gkis/frappe-bench/apps/erpnext/erpnext/erpnext_integrations/doctype/shopify_settings/shopify_settings.py”, line 20, in validate
self.register_webhooks()
File “/home/gkis/frappe-bench/apps/erpnext/erpnext/erpnext_integrations/doctype/shopify_settings/shopify_settings.py”, line 61, in register_webhooks
make_shopify_log(status=“Warning”, message=e.message, exception=False)
AttributeError: ‘HTTPError’ object has no attribute ‘message’
Traceback (most recent call last):
File “/home/gkis/frappe-bench/apps/erpnext/erpnext/erpnext_integrations/doctype/shopify_settings/shopify_settings.py”, line 58, in register_webhooks
d.raise_for_status()
File “/home/gkis/frappe-bench/env/lib/python3.5/site-packages/requests/models.py”, line 941, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 422 Client Error: Unprocessable Entity for url: https://5ba1c64727f27616b46a0fba1bb81c28:fc464e740f63df3a437e7992eebf8ec4@gkiserptest2.myshopify.com/admin/webhooks.json
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/home/gkis/frappe-bench/apps/frappe/frappe/app.py”, line 61, in application
response = frappe.handler.handle()
File “/home/gkis/frappe-bench/apps/frappe/frappe/handler.py”, line 21, in handle
data = execute_cmd(cmd)
File “/home/gkis/frappe-bench/apps/frappe/frappe/handler.py”, line 56, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/home/gkis/frappe-bench/apps/frappe/frappe/init.py”, line 1036, in call
return fn(*args, **newargs)
File “/home/gkis/frappe-bench/apps/frappe/frappe/desk/form/save.py”, line 22, in savedocs
doc.save()
File “/home/gkis/frappe-bench/apps/frappe/frappe/model/document.py”, line 260, in save
return self._save(*args, **kwargs)
File “/home/gkis/frappe-bench/apps/frappe/frappe/model/document.py”, line 296, in _save
self.run_before_save_methods()
File “/home/gkis/frappe-bench/apps/frappe/frappe/model/document.py”, line 876, in run_before_save_methods
self.run_method(“validate”)
File “/home/gkis/frappe-bench/apps/frappe/frappe/model/document.py”, line 772, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/gkis/frappe-bench/apps/frappe/frappe/model/document.py”, line 1048, in composer
return composed(self, method, *args, **kwargs)
File “/home/gkis/frappe-bench/apps/frappe/frappe/model/document.py”, line 1031, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/gkis/frappe-bench/apps/frappe/frappe/model/document.py”, line 766, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/gkis/frappe-bench/apps/erpnext/erpnext/erpnext_integrations/doctype/shopify_settings/shopify_settings.py”, line 20, in validate
self.register_webhooks()
File “/home/gkis/frappe-bench/apps/erpnext/erpnext/erpnext_integrations/doctype/shopify_settings/shopify_settings.py”, line 61, in register_webhooks
make_shopify_log(status=“Warning”, message=e.message, exception=False)
AttributeError: ‘HTTPError’ object has no attribute ‘message’