[英]Python throwing error when trying to pull order data via Shopify API
[英]Trying to access the shopify data using shopifyapi and is throwing an error
當我嘗試使用shopifyapi
庫訪問店面時出現此錯誤
self.endpoint = shopify.ShopifyResource.get_site() + "/graphql.json" TypeError: +: 'NoneType' 和 'str' 不支持的操作數類型
對我來說,這個問題的解決方案是我仍然需要“激活”session。 嘗試:
session = shopify.Session(shop_url, api_version, password)
shopify.ShopifyResource.activate_session(session)
對於 shopify.ShopifyResource.get_site(),它不應再返回 None。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.