mws.Feeds.submit_feed() started getting 'xml.etree.ElementTree.Element' object has no attribute 'getchildren' error


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:

secret_key = MWS_SECRET_KEY,
account_id& = self.SELLER_ID,
region = ‘US’)

This is my request:

<?xml version="1.0"?>
<AmazonEnvelope xmlns:xsi="" xsi:noNamespaceSchemaLocation="amzn-envelope.xsd">

This is my code:

def SendFeed( self, xmlRequest ):
        assert( xmlRequest != '' )
        request = xmlRequest.encode('utf-8')
        response = self.feeds_api.submit_feed(
        return response

I have created an App in my Developer central.

Thank you!


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.




Hi Jack,

I followed instructions on

I had to remove the module and reinstall it using pip install git+