문제

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