USPS からこのエラーが発生しています。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>
テスト サーバーhttp://production.shippingapis.com/ShippingAPItest.dll?API=RateV4&XML=で同じクエリを作成すると、次のエラーが表示されます。
<Error>
<Number>80040b1a</Number>
<Description>API Authorization failure. RateV4 is not a valid API name for this protocol.</Description>
<Source>UspsCom::DoAuth</Source>
</Error>