Question

Has anyone encountered this error message recently while using FEDEX's shipping rate API??

I've been working with the FEDEX shipping rate API for ~a week now, and my code (run [this][1] which requires [this][2] and [this][3]) was working smoothly until today. I made very few changes, which I did not track (unfortunately). All of the auth/account info is TEST info provided by FEDEX. Now I see the following error, code of which is not described on FEDEX's [error codes page][4]:

Severity: ERROR
Source: crs
Code: 850
Message: Account number not found. 
LocalizedMessage: Account number not found. 

Upon searching, it looks like there's no talk of this error on the web. It's not authentication related, because upon messing with the key/meter/password info, I get another error related to authentication. So it's authenticating just fine, but doesn't see my account number. The request XML verifies that there is an account number where it should be, so it appears that this message is related to "finding" the account number in FEDEX's database.

I thought maybe there was an issue with my account, so I created another account, replaced the info, and sure enough, same error message is getting returned.

UPDATE Code:

Was it helpful?

Solution

    if($var == 'shipaccount') Return 'XXXXXXXXX';  -->Test Account Number
if($var == 'billaccount') Return 'XXXXXXXXX';  -->Test Account Number

    if($var == 'meter') Return 'XYXYXYXYXY';  -->meter number
if($var == 'key') Return 'XYXYXYXYXYXYX'; --->key
if($var == 'password') Return 'FOOFOOOFOO'; -->password

Hope you have filled these fields correctly.
I have also noticed today that fedex shipping rates are not returning whereas it was working fine until last week, so there may be changes with fedex. You have to contact fedex regarding this.
Also make sure you have downloaded and included RateService_v10.wsdl file.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top