ecommerce_integrations icon indicating copy to clipboard operation
ecommerce_integrations copied to clipboard

Cannot get any sync or connection to Shopify

Open yasqueentyler opened this issue 1 year ago • 0 comments

I cannot get my frappe cloud instance of erpnext to sync anything with my Shopify. I cannot even save the settings because it says it can find the webhopks JSON or something. Below is the error information from the app:

App Versions


{

"chat": "0.0.1",

"crm": "1.19.0",

"ecommerce_integrations": "1.20.1",

"email_delivery_service": "0.0.1",

"erpnext": "15.32.0",

"frappe": "15.37.0",

"helpdesk": "0.10.0",

"hrms": "15.25.2",

"payments": "0.0.1",

"raven": "1.6.5"

}

Route


Form/Shopify Setting/Shopify Setting

Traceback


Traceback (most recent call last):

File "apps/frappe/frappe/[app.py](http://app.py/)", line 114, in application

response = frappe.api.handle(request)

^^^^^^^^^^^^^^^^^^^^^^^^^^

File "apps/frappe/frappe/api/__init__.py", line 49, in handle

data = endpoint(**arguments)

^^^^^^^^^^^^^^^^^^^^^

File "apps/frappe/frappe/api/[v1.py](http://v1.py/)", line 36, in handle_rpc_call

return frappe.handler.handle()

^^^^^^^^^^^^^^^^^^^^^^^

File "apps/frappe/frappe/[handler.py](http://handler.py/)", line 49, in handle

data = execute_cmd(cmd)

^^^^^^^^^^^^^^^^

File "apps/frappe/frappe/[handler.py](http://handler.py/)", line 85, in execute_cmd

return [frappe.call](http://frappe.call/)(method, **frappe.form_dict)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "apps/frappe/frappe/__init__.py", line 1768, in call

return fn(*args, **newargs)

^^^^^^^^^^^^^^^^^^^^

File "apps/frappe/frappe/utils/typing_[validations.py](http://validations.py/)", line 31, in wrapper

return func(*args, **kwargs)

^^^^^^^^^^^^^^^^^^^^^

File "apps/ecommerce_integrations/ecommerce_integrations/shopify/page/shopify_import_products/shopify_import_[products.py](http://products.py/)", line 19, in get_shopify_products

shopify_products = fetch_all_products(from_)

^^^^^^^^^^^^^^^^^^^^^^^^^

File "apps/ecommerce_integrations/ecommerce_integrations/shopify/page/shopify_import_products/shopify_import_[products.py](http://products.py/)", line 29, in fetch_all_products

for product in collection:

TypeError: 'NoneType' object is not iterable

Request Data


{

"type": "POST",

"args": {

"from_": null

},

"headers": {},

"error_handlers": {},

"url": "/api/method/ecommerce_[integrations.shopify.page](http://integrations.shopify.page/).shopify_import_products.shopify_import_products.get_shopify_products",

"request_id": "c826fd73-1b64-4eb2-ab2e-cb6bb83deea5"

}

Response Data


{

"exception": "TypeError: 'NoneType' object is not iterable",

"exc_type": "TypeError",

"_exc_source": "ecommerce_integrations (app)"

}

yasqueentyler avatar Aug 14 '24 15:08 yasqueentyler