Closed dhdhxk closed 2 years ago
Hi, I have a question regards to Address Validation API.
I`m currently using the Rate API and it works well, but when I run the Address Validation example, I keep getting the following error.
object(FedEx\AddressValidationService\ComplexType\AddressValidationReply)#14 (2) { ["name":protected]=> string(22) "AddressValidationReply" ["values":protected]=> array(3) { ["HighestSeverity"]=> string(5) "ERROR" ["Notifications"]=> array(1) { [0]=> object(FedEx\AddressValidationService\ComplexType\Notification)#28 (2) { ["name":protected]=> string(12) "Notification" ["values":protected]=> array(4) { ["Severity"]=> string(5) "ERROR" ["Source"]=> string(4) "prof" ["Code"]=> string(4) "1000" ["Message"]=> string(21) "Authentication Failed" } } } ["Version"]=> object(FedEx\AddressValidationService\ComplexType\VersionId)#36 (2) { ["name":protected]=> string(9) "VersionId" ["values":protected]=> array(4) { ["ServiceId"]=> string(4) "aval" ["Major"]=> int(4) ["Intermediate"]=> int(0) ["Minor"]=> int(0) } } } }
FYI, I`m using the same API credential as rate API.
I just research for the Error code 1000 and looks like I dont have permission, but Im not sure where can I set the permission for API.
t have permission, but I
I follow https://docs.flexibleshipping.com/article/132-fedex-how-to-get-the-api-key to get the API credential.
Do you have any clue regards to this? Thank you.
Nevermind. I've figured out the issue.
I've contacted FedEx and they've given me the permission.
Hi, I have a question regards to Address Validation API.
I`m currently using the Rate API and it works well, but when I run the Address Validation example, I keep getting the following error.
object(FedEx\AddressValidationService\ComplexType\AddressValidationReply)#14 (2) { ["name":protected]=> string(22) "AddressValidationReply" ["values":protected]=> array(3) { ["HighestSeverity"]=> string(5) "ERROR" ["Notifications"]=> array(1) { [0]=> object(FedEx\AddressValidationService\ComplexType\Notification)#28 (2) { ["name":protected]=> string(12) "Notification" ["values":protected]=> array(4) { ["Severity"]=> string(5) "ERROR" ["Source"]=> string(4) "prof" ["Code"]=> string(4) "1000" ["Message"]=> string(21) "Authentication Failed" } } } ["Version"]=> object(FedEx\AddressValidationService\ComplexType\VersionId)#36 (2) { ["name":protected]=> string(9) "VersionId" ["values":protected]=> array(4) { ["ServiceId"]=> string(4) "aval" ["Major"]=> int(4) ["Intermediate"]=> int(0) ["Minor"]=> int(0) } } } }
FYI, I`m using the same API credential as rate API.
I just research for the Error code 1000 and looks like I don
t have permission, but I
m not sure where can I set the permission for API.I follow https://docs.flexibleshipping.com/article/132-fedex-how-to-get-the-api-key to get the API credential.
Do you have any clue regards to this? Thank you.