Open GeorgeValergas opened 8 years ago
Any response here? Some guidance on implementing would be welcome as well.
I am also experiencing this error! I have reached out to our local FedEx person to see if they can help me debug. I'll update if I figure it out :)
I am experiencing this using test credentials and wsdl='beta'
. I have not yet gotten production credentials.
Though I encountered the error when using this repo: https://github.com/jzempel/fedex
I think that means this error is a fedex auth issue, not a library issue.
OK so I fixed my error and it's a little bit weird.
FedEx set us up with two different accounts: one for express (ground / parcel / etc) and one for freight (LTL, freight economy, etc).
Only the express account will give working API credentials (API Key, password, account number, and meter number) but if you want to get a freight rate request, you will need to add your freight account number at another part of the request.
@vpontis But where exactly did you add the Account Number? Can you give a code sample?
So, you're supposed to add the Freight Account Number (which is different from the regular one) at the path: RequestedShipment.FreightShipmentDetail.FedExFreightAccountNumber
.
Really awkward API definition, FedEx!
Hi there,
passing in
:service_type => "FEDEX_FREIGHT_ECONOMY"
when callingFedex::Shipment#rate
gives the following error.In order to support freight shipments, the credentials class needs a data member for
:freight_account_number