0

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

<Response>
    <TransactionReference>
        <CustomerContext>Rating and Service</CustomerContext>
        <XpciVersion>1.0</XpciVersion>
    </TransactionReference>
    <ResponseStatusCode>0</ResponseStatusCode>
    <ResponseStatusDescription>Failure</ResponseStatusDescription>
    <Error>
        <ErrorSeverity>Hard</ErrorSeverity>
        <ErrorCode>10001</ErrorCode>
        <ErrorDescription>The XML document is not well formed</ErrorDescription>
    </Error>
</Response>

What am I doing wrong?

1 Answer 1

0

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

<AccessLicenseNumber>1234567890ABCE</AccessLicenseNumber>
<UserId>MYUSERID</UserId>
<Password>pass&word</Password>

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.