![]() |
耍酷的啄木鸟 · Imports - Post Import ...· 4 周前 · |
![]() |
个性的茄子 · UnityWebRequest如何发送Jso ...· 3 周前 · |
![]() |
阳刚的火腿肠 · 使用 Postman 发送 JSON ...· 3 周前 · |
![]() |
行走的酱肘子 · requests(一): ...· 3 周前 · |
![]() |
读研的冲锋衣 · Apifox 如何发送 json 格式的 ...· 3 周前 · |
![]() |
沉着的抽屉 · 天降女子! ~女孩子从2楼...掉下来了! ...· 4 月前 · |
![]() |
一身肌肉的罐头 · The average ...· 6 月前 · |
![]() |
魁梧的卤蛋 · flex布局,子元素父元素同高度,子内文字垂 ...· 7 月前 · |
![]() |
旅行中的黑框眼镜 · 林清安钣金教程《完全精通PROE野火5.0中 ...· 10 月前 · |
![]() |
想发财的茴香 · windows 批处理 bat ...· 1 年前 · |
update post |
https://sellercentral.amazon.com/forums/t/mws-feeds-submit-feed-started-getting-xml-etree-elementtree-element-object-has-no-attribute-getchildren-error/818398 |
![]() |
小胡子的沙发
8 月前 |
Can someone please help me with this?
mws.Feeds.submit_feed() had worked just fine up until two weeks ago. Now it gives me ‘xml.etree.ElementTree.Element’ error.
I have been using the credentials below:
mws.Feeds(
access_key.MWS_ACCESS_KEY,
secret_key = MWS_SECRET_KEY,
account_id& = self.SELLER_ID,
region = ‘US’)
This is my request:
<?xml version="1.0"?>
<AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amzn-envelope.xsd">
<Header>
<DocumentVersion>1.01</DocumentVersion>
<MerchantIdentifier>xxxxxx</MerchantIdentifier>
</Header>
<MessageType>Inventory</MessageType>
<Message>
<MessageID>1</MessageID>
<OperationType>Update</OperationType>
<Inventory>
<SKU>xxxxx</SKU>
<Quantity>0</Quantity>
</Inventory>
</Message>
</AmazonEnvelope>
This is my code:
def SendFeed( self, xmlRequest ):
assert( xmlRequest != '' )
request = xmlRequest.encode('utf-8')
response = self.feeds_api.submit_feed(
request,
'_POST_INVENTORY_AVAILABILITY_DATA_',
self.MARKETPLACES
return response
I have created an App in my Developer central.
Thank you!
Found the problem. I just needed to update mws.
Found the problem. I just needed to update mws.
Hi AutoShopping24,
I am also getting this error with mws reports api, using the same lib ( amazon-mws ?), stuff was working now it isnt, I’m curious what version you upgraded from, and to? I’m using the latest version of the lib and I still get this error.
Thanks,
Can someone please help me with this?
mws.Feeds.submit_feed() had worked just fine up until two weeks ago. Now it gives me ‘xml.etree.ElementTree.Element’ error.
I have been using the credentials below:
mws.Feeds(
access_key.MWS_ACCESS_KEY,
secret_key = MWS_SECRET_KEY,
account_id& = self.SELLER_ID,
region = ‘US’)
This is my request:
<?xml version="1.0"?>
<AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amzn-envelope.xsd">
<Header>
<DocumentVersion>1.01</DocumentVersion>
<MerchantIdentifier>xxxxxx</MerchantIdentifier>
</Header>
<MessageType>Inventory</MessageType>
<Message>
<MessageID>1</MessageID>
<OperationType>Update</OperationType>
<Inventory>
<SKU>xxxxx</SKU>
<Quantity>0</Quantity>
</Inventory>
</Message>
</AmazonEnvelope>
This is my code:
def SendFeed( self, xmlRequest ):
assert( xmlRequest != '' )
request = xmlRequest.encode('utf-8')
response = self.feeds_api.submit_feed(
request,
'_POST_INVENTORY_AVAILABILITY_DATA_',
self.MARKETPLACES
return response
I have created an App in my Developer central.
Thank you!
Can someone please help me with this?
mws.Feeds.submit_feed() had worked just fine up until two weeks ago. Now it gives me ‘xml.etree.ElementTree.Element’ error.
I have been using the credentials below:
mws.Feeds(
access_key.MWS_ACCESS_KEY,
secret_key = MWS_SECRET_KEY,
account_id& = self.SELLER_ID,
region = ‘US’)
This is my request:
<?xml version="1.0"?>
<AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amzn-envelope.xsd">
<Header>
<DocumentVersion>1.01</DocumentVersion>
<MerchantIdentifier>xxxxxx</MerchantIdentifier>
</Header>
<MessageType>Inventory</MessageType>
<Message>
<MessageID>1</MessageID>
<OperationType>Update</OperationType>
<Inventory>
<SKU>xxxxx</SKU>
<Quantity>0</Quantity>
</Inventory>
</Message>
</AmazonEnvelope>
This is my code:
def SendFeed( self, xmlRequest ):
assert( xmlRequest != '' )
request = xmlRequest.encode('utf-8')
response = self.feeds_api.submit_feed(
request,
'_POST_INVENTORY_AVAILABILITY_DATA_',
self.MARKETPLACES
return response
I have created an App in my Developer central.
Thank you!
Found the problem. I just needed to update mws.
Found the problem. I just needed to update mws.
Found the problem. I just needed to update mws.
Found the problem. I just needed to update mws.
Hi AutoShopping24,
I am also getting this error with mws reports api, using the same lib ( amazon-mws ?), stuff was working now it isnt, I’m curious what version you upgraded from, and to? I’m using the latest version of the lib and I still get this error.
Thanks,
Found the problem. I just needed to update mws.
Found the problem. I just needed to update mws.
Hi AutoShopping24,
I am also getting this error with mws reports api, using the same lib ( amazon-mws ?), stuff was working now it isnt, I’m curious what version you upgraded from, and to? I’m using the latest version of the lib and I still get this error.
Thanks,
Hi AutoShopping24,
I am also getting this error with mws reports api, using the same lib ( amazon-mws ?), stuff was working now it isnt, I’m curious what version you upgraded from, and to? I’m using the latest version of the lib and I still get this error.
Thanks,