Error “code”:”250002″,”message”:”Invalid Authentication Information.”
-
Hello guys
I switched from XML to OAuth since a week, and I get an error:
{“response”:{“errors”:[{“code”:”250002″,”message”:”Invalid Authentication Information.”}]}}
I had issues with accurate rates since the beginning, and no one could really discover the reason – I contacted both your support and the UPS technical support. Discrepancy was always there, but never this high.
I checked the authentication details and everything seems to be connected well:
https://ibb.co/VmC6FPP
In addition I get this on the checkout page:
UPS Live Rates: No rates added from collection point rates!
UPS SurePost Live Rates: No rates added from standard service rates!
Here are the API request and response.
API request:{
"RateRequest": {
"PickupType": {
"Code": "03"
},
"Shipment": {
"Service": [],
"ShipFrom": {
"Address": {
"AddressLine1": "Schulstrasse 163",
"City": "Regensdorf",
"CountryCode": "CH",
"PostalCode": "8105",
"StateProvinceCode": "ZH"
}
},
"ShipTo": {
"Address": {
"AddressLine1": "La Roche",
"City": "S\u00e9rent",
"CountryCode": "FR",
"PostalCode": "56460"
}
},
"Shipper": {
"Address": {
"AddressLine1": "Schulstrasse 163",
"City": "Regensdorf",
"CountryCode": "CH",
"PostalCode": "8105",
"StateProvinceCode": "ZH"
},
"ShipperNumber": "hidden"
},
"Package": [
{
"PackageWeight": {
"UnitOfMeasurement": {
"Code": "KGS"
},
"Weight": "2"
},
"PackagingType": {
"Code": "02"
}
}
]
}
}
}
API Response:{
"RateResponse": {
"Response": {
"ResponseStatus": {
"Code": "1",
"Description": "Success"
},
"Alert": [
{
"Code": "110971",
"Description": "Your invoice may vary from the displayed reference rates"
}
],
"TransactionReference": {
"CustomerContext": "Octolize Plugin",
"TransactionIdentifier": "xwssoas18152DBzc7npKgG"
}
},
"RatedShipment": [
{
"Service": {
"Code": "07",
"Description": ""
},
"RatedShipmentAlert": {
"Code": "110971",
"Description": "Your invoice may vary from the displayed reference rates"
},
"BillingWeight": {
"UnitOfMeasurement": {
"Code": "KGS",
"Description": "Kilograms"
},
"Weight": "2.0"
},
"TransportationCharges": {
"CurrencyCode": "CHF",
"MonetaryValue": "42.80"
},
"BaseServiceCharge": {
"CurrencyCode": "CHF",
"MonetaryValue": "42.35"
},
"ItemizedCharges": {
"Code": "430",
"CurrencyCode": "CHF",
"MonetaryValue": "0.45",
"SubType": "Commercial_Seasonal_Surcharge"
},
"ServiceOptionsCharges": {
"CurrencyCode": "CHF",
"MonetaryValue": "0.00"
},
"TotalCharges": {
"CurrencyCode": "CHF",
"MonetaryValue": "42.80"
},
"RatedPackage": {
"Weight": "2.0"
}
},
{
"Service": {
"Code": "11",
"Description": ""
},
"RatedShipmentAlert": {
"Code": "110971",
"Description": "Your invoice may vary from the displayed reference rates"
},
"BillingWeight": {
"UnitOfMeasurement": {
"Code": "KGS",
"Description": "Kilograms"
},
"Weight": "2.0"
},
"TransportationCharges": {
"CurrencyCode": "CHF",
"MonetaryValue": "21.95"
},
"BaseServiceCharge": {
"CurrencyCode": "CHF",
"MonetaryValue": "21.95"
},
"ServiceOptionsCharges": {
"CurrencyCode": "CHF",
"MonetaryValue": "0.00"
},
"TotalCharges": {
"CurrencyCode": "CHF",
"MonetaryValue": "21.95"
},
"RatedPackage": {
"Weight": "2.0"
}
},
{
"Service": {
"Code": "65",
"Description": ""
},
"RatedShipmentAlert": {
"Code": "110971",
"Description": "Your invoice may vary from the displayed reference rates"
},
"BillingWeight": {
"UnitOfMeasurement": {
"Code": "KGS",
"Description": "Kilograms"
},
"Weight": "2.0"
},
"TransportationCharges": {
"CurrencyCode": "CHF",
"MonetaryValue": "38.75"
},
"BaseServiceCharge": {
"CurrencyCode": "CHF",
"MonetaryValue": "38.30"
},
"ItemizedCharges": {
"Code": "430",
"CurrencyCode": "CHF",
"MonetaryValue": "0.45",
"SubType": "Commercial_Seasonal_Surcharge"
},
"ServiceOptionsCharges": {
"CurrencyCode": "CHF",
"MonetaryValue": "0.00"
},
"TotalCharges": {
"CurrencyCode": "CHF",
"MonetaryValue": "38.75"
},
"RatedPackage": {
"Weight": "2.0"
}
}
]
}
}The page I need help with: [log in to see the link]
The topic ‘Error “code”:”250002″,”message”:”Invalid Authentication Information.”’ is closed to new replies.