I am getting this error from USPS I am making query at http://production.shippingapis.com/ShippingAPI.dll?API=RateV4&XML=

<Error>
    <Number>80040b1a</Number>
    <Description>Authorization failure.  You are not authorized to connect to this server.</Description>
    <Source>UspsCom::DoAuth</Source>
</Error>

And if i am making the same query at test server http://production.shippingapis.com/ShippingAPItest.dll?API=RateV4&XML= it's getting me the following error

<Error>
    <Number>80040b1a</Number>
    <Description>API Authorization failure. RateV4 is not a valid API name for this protocol.</Description>
    <Source>UspsCom::DoAuth</Source>
</Error>
有帮助吗?

解决方案

Ravish- RateV4 is not applicable in Testing server, therefore you won't be able to obtain any response. And, in regards to RateV4 in Production server, you will need to obtain permission from ICCC, USPS. Hope it helps.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top