attribute ERROR:“NoneType”对象没有属性“find”-PYTHON错误

2024-05-06 22:04:36 发布

您现在位置:Python中文网/ 问答频道 /正文

我有一个代码可以调用eBay API。到2019年3月为止,一切都很顺利,而现在的回报率为零。不管怎样,我一直在努力解决这个问题并面对这个错误

Traceback (most recent call last):
<Response [200]>
  File "C:****************/GetData.py", line 303, in <module>
writing..
    root_cat = store.find('{urn:ebay:apis:eBLBaseComponents}CustomCategories')
AttributeError: 'NoneType' object has no attribute 'find'

这是303号线

root_cat = store.find('{urn:ebay:apis:eBLBaseComponents}CustomCategories')

我想知道你能否在这件事上帮我 问候


Tags: store代码api错误rootfindcatapis