logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to AbleCommerce Gold forum. Please use your AbleCommerce username and password to Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
judy e  
#1 Posted : Tuesday, September 22, 2026 9:03:54 AM(UTC)
judy e

Rank: Advanced Member

Groups: Developers
Joined: 11/7/2018(UTC)
Posts: 313

Thanks: 21 times
Was thanked: 6 time(s) in 6 post(s)
We are having issues with Fedex Oauth and some international addresses. For example, one to Chile- rates were obtained in June, but trying to place an order for the same item/same address returns no rates. We have sent the debug log info to Fedex and they said the error is
"errors": [
{
"code": "RECIPIENT.ADDRESSSTATEORPROVINCECODE.MAXCHAREXCEEDED",
"message": "The length of the destination state or province code exceeds the limit of 2 characters. Please update and try again."
}

Log shows
"recipients": null,
"recipient": {
"contact": null,
"address": {
"city": "Valparaiso",
"stateOrProvinceCode": "",
"postalCode": "2540070",
"countryCode": "CL",
"residential": false,
"streetLines": [
"Laminaria 333",
"VINA DEL MAR"
]
}

I can't check the Fedex source code since we don't have it. How many characters does the code send and/or is there any kind of translation between province name and province code?
Attached is a screenshot of some orders that had been created with Ship method 32, FedEx international.
2026-09-22_10-01-23.png (65kb) downloaded 0 time(s).

Edited by user Tuesday, September 22, 2026 9:04:59 AM(UTC)  | Reason: Not specified

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. New Registrations are disabled.

Katie S  
#2 Posted : Tuesday, September 22, 2026 11:45:05 AM(UTC)
Katie S

Rank: Advanced Member

Groups: System, Administrators, Developers, Registered, HelpDesk
Joined: 10/29/2018(UTC)
Posts: 508

Thanks: 6 times
Was thanked: 36 time(s) in 35 post(s)
Hi Judy,

When I tested, the address verification service kicked in and changed the address to:

Calle Laminaria 333
2540070 Viña del Mar
Valparaíso
CHILE

On the Fedex side, I enabled all available FedEx international services and the only one that appeared is "FedEx International Economy" - but that might be something to do with my test account.

When you enable Debug in Ablecommerce, what does the FedExOAuth.log show for this shipment? If there is an error when sending the details to Fedex, it will appear in the log file in Ablecommerce. Otherwise, you will see all the rates for any available service type.

Thanks for your support!

Katie
Secure eCommerce Software and Hosting
judy e  
#3 Posted : Wednesday, September 23, 2026 9:36:54 AM(UTC)
judy e

Rank: Advanced Member

Groups: Developers
Joined: 11/7/2018(UTC)
Posts: 313

Thanks: 21 times
Was thanked: 6 time(s) in 6 post(s)
Thanks for the reply.
FedEx International Priority is active for all groups, all zones

If I fill in the state as Valparaiso, I get
Receive: {"transactionId":"ce61e99f-2b27-4660-8e75-cab1d7f5b760","errors":[{"code":"RECIPIENT.ADDRESSSTATEORPROVINCECODE.MAXCHAREXCEEDED","message":"The length of the destination state or province code exceeds the limit of 2 characters. Please update and try again."}]}

If I leave the state blank, I get the following, but no shipping methods appear in the dropdown. I tested the admin place order this time.
Send: {
"accountNumber": {
"value": "xxx"
},
"requestedShipment": {
"shipper": {
"contact": null,
"address": {
"city": "Ocean Isle Beach",
"stateOrProvinceCode": "NC",
"postalCode": "28469",
"countryCode": "US",
"residential": false,
"streetLines": [
"6899 Beach Drive",
""
]
}
},
"recipients": null,
"recipient": {
"contact": null,
"address": {
"city": "Vina del Mar",
"stateOrProvinceCode": "",
"postalCode": "2540070",
"countryCode": "CL",
"residential": false,
"streetLines": [
"Laminaria 333",
""
]
}
},
"shipDatestamp": null,
"pickupType": "USE_SCHEDULED_PICKUP",
"serviceType": null,
"packagingType": null,
"blockInsightVisibility": false,
"shippingChargesPayment": null,
"labelSpecification": null,
"requestedPackageLineItems": [
{
"weight": {
"units": "LB",
"value": 5.0
},
"dimensions": null,
"declaredValue": {
"amount": 389.0,
"currency": "USD"
},
"groupPackageCount": 0
}
],
"rateRequestType": [
"ACCOUNT"
],
"ShipmentSpecialServices": null
},
"carrierCodes": [
"FDXE",
"FDXG"
]
}

Receive: {"transactionId":"5d136250-ffd5-4e7d-804b-30dfdf0aa3c3","output":{"alerts":[{"code":"DESTINATION.STATEORPROVINCECODE.CHANGED","message":"The destination state/province code has been changed.","alertType":"NOTE"}],"rateReplyDetails":[{"serviceType":"FEDEX_INTERNATIONAL_PRIORITY","serviceName":"FedEx International Priority®","packagingType":"YOUR_PACKAGING","customerMessages":[{"code":"SERVICE.TYPE.INTERNATIONAL.MESSAGE","message":"Rate does not include duties & taxes, clearance entry fees or other import fees. The payor of duties/taxes/fees will be responsible for any applicable Clearance Entry Fees."}],"ratedShipmentDetails":[{"rateType":"ACCOUNT","ratedWeightMethod":"ACTUAL","totalDiscounts":0.0,"totalBaseCharge":362.47,"totalNetCharge":132.82,"totalVatCharge":0.0,"totalNetFedExCharge":132.82,"totalDutiesAndTaxes":0.0,"totalNetChargeWithDutiesAndTaxes":132.82,"totalDutiesTaxesAndFees":0.0,"totalAncillaryFeesAndTaxes":0.0,"shipmentRateDetail":{"rateZone":"L","dimDivisor":139,"fuelSurchargePercent":44.5,"totalSurcharges":45.83,"totalFreightDiscount":275.48,"freightDiscount":[{"type":"VOLUME","description":"Volume discount","amount":275.48,"percent":76.0}],"surCharges":[{"type":"FUEL","description":"Fuel Surcharge","level":"SHIPMENT","amount":39.38},{"type":"INSURED_VALUE","description":"Declared Value","level":"SHIPMENT","amount":4.95},{"type":"DEMAND","description":"Demand Surcharge","level":"SHIPMENT","amount":1.5}],"pricingCode":"","currencyExchangeRate":{"fromCurrency":"USD","intoCurrency":"USD","rate":1.0},"totalBillingWeight":{"units":"LB","value":5.0},"dimDivisorType":"COUNTRY","currency":"USD","rateScale":"US001OFL_2P_CUSTOMER_PACKAGING","totalRateScaleWeight":{"units":"LB","value":5.0}},"ratedPackages":[{"groupNumber":0,"effectiveNetDiscount":0.0,"packageRateDetail":{"rateType":"PAYOR_ACCOUNT_SHIPMENT","ratedWeightMethod":"ACTUAL","baseCharge":362.47,"netFreight":86.99,"totalSurcharges":45.83,"netFedExCharge":132.82,"totalTaxes":0.0,"netCharge":132.82,"totalRebates":0.0,"billingWeight":{"units":"LB","value":5.0},"totalFreightDiscounts":275.48,"freightDiscounts":[{"type":"VOLUME","description":"Volume","amount":275.48,"percent":76.0}],"surcharges":[{"type":"FUEL","description":"Fuel Surcharge","level":"SHIPMENT","amount":39.38},{"type":"INSURED_VALUE","description":"Declared Value","level":"SHIPMENT","amount":4.95},{"type":"DEMAND","description":"Demand Surcharge","level":"SHIPMENT","amount":1.5}],"currency":"USD"},"sequenceNumber":1}],"currency":"USD"}],"operationalDetail":{"ineligibleForMoneyBackGuarantee":false,"astraDescription":"IP EOD","airportId":"SCL","serviceCode":"2P"},"signatureOptionType":"SERVICE_DEFAULT","serviceDescription":{"serviceId":"EP1000000300","serviceType":"FEDEX_INTERNATIONAL_PRIORITY","code":"2P","names":[{"type":"long","encoding":"utf-8","value":"FedEx International Priority®"},{"type":"long","encoding":"ascii","value":"FedEx International Priority"},{"type":"medium","encoding":"utf-8","value":"FedEx International Priority"},{"type":"medium","encoding":"ascii","value":"FedEx International Priority"},{"type":"short","encoding":"utf-8","value":"IPED"},{"type":"short","encoding":"ascii","value":"IPED"},{"type":"abbrv","encoding":"ascii","value":"OA"}],"serviceCategory":"parcel","description":"International Priority EOD (IP EOD)","astraDescription":"IP EOD"}},{"serviceType":"FEDEX_INTERNATIONAL_CONNECT_PLUS","serviceName":"FedEx International Connect Plus","packagingType":"YOUR_PACKAGING","customerMessages":[{"code":"SERVICE.TYPE.INTERNATIONAL.MESSAGE","message":"Rate does not include duties & taxes, clearance entry fees or other import fees. The payor of duties/taxes/fees will be responsible for any applicable Clearance Entry Fees."}],"ratedShipmentDetails":[{"rateType":"ACCOUNT","ratedWeightMethod":"ACTUAL","totalDiscounts":0.0,"totalBaseCharge":285.29,"totalNetCharge":419.36,"totalVatCharge":0.0,"totalNetFedExCharge":419.36,"totalDutiesAndTaxes":0.0,"totalNetChargeWithDutiesAndTaxes":419.36,"totalDutiesTaxesAndFees":0.0,"totalAncillaryFeesAndTaxes":0.0,"shipmentRateDetail":{"rateZone":"L","dimDivisor":139,"fuelSurchargePercent":44.5,"totalSurcharges":134.07,"totalFreightDiscount":0.0,"surCharges":[{"type":"FUEL","description":"Fuel Surcharge","level":"SHIPMENT","amount":127.62},{"type":"INSURED_VALUE","description":"Declared Value","level":"SHIPMENT","amount":4.95},{"type":"DEMAND","description":"Demand Surcharge","level":"SHIPMENT","amount":1.5}],"pricingCode":"","currencyExchangeRate":{"fromCurrency":"USD","intoCurrency":"USD","rate":1.0},"totalBillingWeight":{"units":"LB","value":5.0},"dimDivisorType":"COUNTRY","currency":"USD","rateScale":"USALLFL_EC_CUSTOMER_PACKAGING","totalRateScaleWeight":{"units":"LB","value":5.0}},"ratedPackages":[{"groupNumber":0,"effectiveNetDiscount":0.0,"packageRateDetail":{"rateType":"PAYOR_ACCOUNT_SHIPMENT","ratedWeightMethod":"ACTUAL","baseCharge":285.29,"netFreight":285.29,"totalSurcharges":134.07,"netFedExCharge":419.36,"totalTaxes":0.0,"netCharge":419.36,"totalRebates":0.0,"billingWeight":{"units":"LB","value":5.0},"totalFreightDiscounts":0.0,"surcharges":[{"type":"FUEL","description":"Fuel Surcharge","level":"SHIPMENT","amount":127.62},{"type":"INSURED_VALUE","description":"Declared Value","level":"SHIPMENT","amount":4.95},{"type":"DEMAND","description":"Demand Surcharge","level":"SHIPMENT","amount":1.5}],"currency":"USD"},"sequenceNumber":1}],"currency":"USD"}],"operationalDetail":{"ineligibleForMoneyBackGuarantee":false,"astraDescription":"ICP","airportId":"SCL","serviceCode":"EC"},"signatureOptionType":"SERVICE_DEFAULT","serviceDescription":{"serviceId":"EP1000000305","serviceType":"FEDEX_INTERNATIONAL_CONNECT_PLUS","code":"EC","names":[{"type":"long","encoding":"utf-8","value":"FedEx International Connect Plus"},{"type":"long","encoding":"ascii","value":"FedEx International Connect Plus"},{"type":"medium","encoding":"utf-8","value":"FedEx Intl Connect Plus"},{"type":"medium","encoding":"ascii","value":"FedEx Intl Connect Plus"},{"type":"short","encoding":"utf-8","value":"ICP"},{"type":"short","encoding":"ascii","value":"ICP"},{"type":"abbrv","encoding":"utf-8","value":"MN"},{"type":"abbrv","encoding":"ascii","value":"MN"}],"serviceCategory":"parcel","description":"International Connect Plus","astraDescription":"ICP"}},{"serviceType":"INTERNATIONAL_ECONOMY","serviceName":"FedEx International Economy®","packagingType":"YOUR_PACKAGING","customerMessages":[{"code":"SERVICE.TYPE.INTERNATIONAL.MESSAGE","message":"Rate does not include duties & taxes, clearance entry fees or other import fees. The payor of duties/taxes/fees will be responsible for any applicable Clearance Entry Fees."}],"ratedShipmentDetails":[{"rateType":"ACCOUNT","ratedWeightMethod":"ACTUAL","totalDiscounts":0.0,"totalBaseCharge":313.82,"totalNetCharge":188.51,"totalVatCharge":0.0,"totalNetFedExCharge":188.51,"totalDutiesAndTaxes":0.0,"totalNetChargeWithDutiesAndTaxes":188.51,"totalDutiesTaxesAndFees":0.0,"totalAncillaryFeesAndTaxes":0.0,"shipmentRateDetail":{"rateZone":"US001O","dimDivisor":139,"fuelSurchargePercent":44.5,"totalSurcharges":62.98,"totalFreightDiscount":188.29,"freightDiscount":[{"type":"VOLUME","description":"Volume discount","amount":188.29,"percent":60.0}],"surCharges":[{"type":"FUEL","description":"Fuel Surcharge","level":"SHIPMENT","amount":56.53},{"type":"INSURED_VALUE","description":"Declared Value","level":"SHIPMENT","amount":4.95},{"type":"DEMAND","description":"Demand Surcharge","level":"SHIPMENT","amount":1.5}],"pricingCode":"","currencyExchangeRate":{"fromCurrency":"USD","intoCurrency":"USD","rate":1.0},"totalBillingWeight":{"units":"LB","value":5.0},"dimDivisorType":"COUNTRY","currency":"USD","rateScale":"US001OFL_03_CUSTOMER_PACKAGING","totalRateScaleWeight":{"units":"LB","value":5.0}},"ratedPackages":[{"groupNumber":0,"effectiveNetDiscount":0.0,"packageRateDetail":{"rateType":"PAYOR_ACCOUNT_SHIPMENT","ratedWeightMethod":"ACTUAL","baseCharge":313.82,"netFreight":125.53,"totalSurcharges":62.98,"netFedExCharge":188.51,"totalTaxes":0.0,"netCharge":188.51,"totalRebates":0.0,"billingWeight":{"units":"LB","value":5.0},"totalFreightDiscounts":188.29,"freightDiscounts":[{"type":"VOLUME","description":"Volume","amount":188.29,"percent":60.0}],"surcharges":[{"type":"FUEL","description":"Fuel Surcharge","level":"SHIPMENT","amount":56.53},{"type":"INSURED_VALUE","description":"Declared Value","level":"SHIPMENT","amount":4.95},{"type":"DEMAND","description":"Demand Surcharge","level":"SHIPMENT","amount":1.5}],"currency":"USD"},"sequenceNumber":1}],"currency":"USD"}],"operationalDetail":{"ineligibleForMoneyBackGuarantee":false,"astraDescription":"IE","airportId":"SCL","serviceCode":"04"},"signatureOptionType":"SERVICE_DEFAULT","serviceDescription":{"serviceId":"EP1000000004","serviceType":"INTERNATIONAL_ECONOMY","code":"04","names":[{"type":"long","encoding":"utf-8","value":"FedEx International Economy®"},{"type":"long","encoding":"ascii","value":"FedEx International Economy"},{"type":"medium","encoding":"utf-8","value":"FedEx International Economy®"},{"type":"medium","encoding":"ascii","value":"FedEx International Economy"},{"type":"short","encoding":"utf-8","value":"IE"},{"type":"short","encoding":"ascii","value":"IE"},{"type":"abbrv","encoding":"ascii","value":"IE"}],"serviceCategory":"parcel","description":"International Economy","astraDescription":"IE"}}],"quoteDate":"2026-09-23","encoded":false}}
judy e  
#4 Posted : Wednesday, September 23, 2026 9:38:38 AM(UTC)
judy e

Rank: Advanced Member

Groups: Developers
Joined: 11/7/2018(UTC)
Posts: 313

Thanks: 21 times
Was thanked: 6 time(s) in 6 post(s)
EDIT- I added FedEx International Economy and got rates. I will notify the customer.
Katie S  
#5 Posted : Wednesday, September 23, 2026 10:27:24 AM(UTC)
Katie S

Rank: Advanced Member

Groups: System, Administrators, Developers, Registered, HelpDesk
Joined: 10/29/2018(UTC)
Posts: 508

Thanks: 6 times
Was thanked: 36 time(s) in 35 post(s)
Thanks for the update, Judy.

I looked in the debug log and noticed that the State/Province code resulted in "VS"

"recipient": {
"contact": null,
"address": {
"city": "VALPARAÍSO",
"stateOrProvinceCode": "VS",
"postalCode": "2540318",
"countryCode": "CL",
"residential": true,
"streetLines": [
"CALLE LAMINARIA 333",
"VIÑA DEL MAR"

I did have AVS enabled, so maybe FedEx made the correction...
Thanks for your support!

Katie
Secure eCommerce Software and Hosting
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.