Fedex Track Service v2 : Cannot Authenticate
I was trying to deploy the track service via api for one of my clients and I was using the fedex php examples they provided. Unfortunately, I kept on getting an authentication error. It seemed the credentials Fedex had provided me where invalid. I tested this across several servers and then moved on to other api calls... it seemed it was the track service that was causing the issue.
After much debugging, support tickets, and hair turned white - we were finally able to get to the bottom of it. If you look in the wsdl, the call to the gateway is being made to
https:///gateway.fedex.com:443/web.services
try changing this to
https://gatewaybeta.fedex.com:443/web.services
the simple difference is the beta in 'gatewaybeta'. This routes you to the testing servers vs the production servers.
Hope this helps you. I spent days going back and forth on this.
Labels: api, authentication, cannot, code, developer, error, fedex, gateway, key, login, meter, production, service, test, track, us, web services, wsdl