Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zeep.exceptions.XMLParseError: Unexpected element 'uf', expected 'id' #149

Open
joaopenna opened this issue Mar 20, 2019 · 0 comments
Open

Comments

@joaopenna
Copy link

when using the method find_zipcode from client.py, an exception is being raised whenever a valid zipcode is entered.

// invalid zipcodes
client.find_zipcode(ZipCode('01310-92'))
*** correios.exceptions.InvalidZipCodeError: Invalid zipcode 01310-92
client.find_zipcode(ZipCode('99999-999'))
*** correios.exceptions.ClientError: CEP INVÁLIDO

// valid zipcode
client.find_zipcode(ZipCode('01310-920'))
*** zeep.exceptions.XMLParseError: Unexpected element 'uf', expected 'id'

any advice?
thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant