I'm trying to setup UPS XML Configuration in Magento. But the shipping_ups.log always tells me following error:

        <CustomerContext>Rating and Service</CustomerContext>
        <ErrorDescription>The XML document is not well formed</ErrorDescription>

What am I doing wrong?

1 Answer 1


I found the issue! The requested XML is actually valid but it turned out that certain characters in the UPS password broke the validation.


In my case it was a '&' in password.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.