title: FEDEX API, Authentication Failed
body: <p>I am integrating FEDEX Tracking, Rate and Shipping API's into my application but i am stuck with an issue. </p>
  
  <p>When i run my code with Developer account details, everything runs correctly. But when i run the same code with production keys, it gives me <strong>"Error Code 1000, Authentication Error"</strong></p>
  
  <p>I have updated all keys and also changed the URL to point to production URL "<a href="https://ws.fedex.com:443/web-services/" rel="nofollow">https://ws.fedex.com:443/web-services/</a>".</p>
  
  <p>It doesn't seem to be a permission issue from FEDEX end as the standard services(Tracking) are enabled by default for production and that's also giving the same error <strong>"Error Code 1000, Authentication Error"</strong>.</p>
  
  <p>Below is the SOAP request and response XML.</p>
  
  <p>REQUEST:</p>
  
  <pre><code>&lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&gt;
  &lt;soap:Header/&gt;
  &lt;soap:Body&gt;
  &lt;RateRequest xmlns="http://fedex.com/ws/rate/v14"&gt;
  &lt;WebAuthenticationDetail&gt;
  &lt;UserCredential&gt;
  &lt;Key&gt;AAAAAAAA&lt;/Key&gt;
  &lt;Password&gt;BBBBBBBBB&lt;/Password&gt;
  &lt;/UserCredential&gt;
  &lt;/WebAuthenticationDetail&gt;
  &lt;ClientDetail&gt;
  &lt;AccountNumber&gt;CCCCCCCC&lt;/AccountNumber&gt;
  &lt;MeterNumber&gt;DDDDDDDD&lt;/MeterNumber&gt;
  &lt;/ClientDetail&gt;
  &lt;TransactionDetail&gt;
  &lt;CustomerTransactionId&gt;java sample - Rate Request&lt;/CustomerTransactionId&gt;
  &lt;/TransactionDetail&gt;
  &lt;Version&gt;
  &lt;ServiceId&gt;crs&lt;/ServiceId&gt;
  &lt;Major&gt;14&lt;/Major&gt;
  &lt;Intermediate&gt;0&lt;/Intermediate&gt;
  &lt;Minor&gt;0&lt;/Minor&gt;
  &lt;/Version&gt;
  &lt;ReturnTransitAndCommit&gt;true&lt;/ReturnTransitAndCommit&gt;
  &lt;RequestedShipment&gt;
  &lt;ShipTimestamp&gt;2015-04-19T18:21:11.542+05:30&lt;/ShipTimestamp&gt;
  &lt;DropoffType&gt;REGULAR_PICKUP&lt;/DropoffType&gt;
  &lt;ServiceType&gt;FEDEX_GROUND&lt;/ServiceType&gt;
  &lt;PackagingType&gt;YOUR_PACKAGING&lt;/PackagingType&gt;
  &lt;TotalInsuredValue&gt;
  &lt;Currency&gt;USD&lt;/Currency&gt;
  &lt;/TotalInsuredValue&gt;
  &lt;Shipper&gt;
  &lt;Address&gt;
  &lt;StreetLines&gt;1310 Piper Dr&lt;/StreetLines&gt;
  &lt;City&gt;Milpitas&lt;/City&gt;
  &lt;StateOrProvinceCode&gt;CA&lt;/StateOrProvinceCode&gt;
  &lt;PostalCode&gt;95035&lt;/PostalCode&gt;
  &lt;CountryCode&gt;US&lt;/CountryCode&gt;
  &lt;/Address&gt;
  &lt;/Shipper&gt;
  &lt;Recipient&gt;
  &lt;Address&gt;
  &lt;StreetLines&gt;3370 E. La Palma Avenue&lt;/StreetLines&gt;
  &lt;City&gt;Anaheim&lt;/City&gt;
  &lt;StateOrProvinceCode&gt;CA&lt;/StateOrProvinceCode&gt;
  &lt;PostalCode&gt;92806&lt;/PostalCode&gt;
  &lt;CountryCode&gt;US&lt;/CountryCode&gt;
  &lt;Residential&gt;false&lt;/Residential&gt;
  &lt;/Address&gt;
  &lt;/Recipient&gt;
  &lt;ShippingChargesPayment&gt;
  &lt;PaymentType&gt;SENDER&lt;/PaymentType&gt;
  &lt;Payor&gt;
  &lt;ResponsibleParty&gt;
  &lt;AccountNumber&gt;ACCOUNT_NUMBER_PRESENT&lt;/AccountNumber&gt;
  &lt;/ResponsibleParty&gt;
  &lt;/Payor&gt;
  &lt;/ShippingChargesPayment&gt;
  &lt;RateRequestTypes&gt;ACCOUNT&lt;/RateRequestTypes&gt;
  &lt;PackageCount&gt;1&lt;/PackageCount&gt;
  &lt;RequestedPackageLineItems&gt;
  &lt;GroupPackageCount&gt;1&lt;/GroupPackageCount&gt;
  &lt;InsuredValue&gt;
  &lt;Currency&gt;USD&lt;/Currency&gt;
  &lt;Amount&gt;100.00&lt;/Amount&gt;
  &lt;/InsuredValue&gt;
  &lt;Weight&gt;
  &lt;Units&gt;LB&lt;/Units&gt;
  &lt;Value&gt;10&lt;/Value&gt;
  &lt;/Weight&gt;
  &lt;Dimensions&gt;
  &lt;Length&gt;1&lt;/Length&gt;
  &lt;Width&gt;1&lt;/Width&gt;
  &lt;Height&gt;1&lt;/Height&gt;
  &lt;Units&gt;IN&lt;/Units&gt;
  &lt;/Dimensions&gt;
  &lt;SpecialServicesRequested/&gt;
  &lt;/RequestedPackageLineItems&gt;
  &lt;/RequestedShipment&gt;
  &lt;/RateRequest&gt;
  &lt;/soap:Body&gt;
  &lt;/soap:Envelope&gt;
  </code></pre>
  
  <p>RESPONSE:</p>
  
  <pre><code>&lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"&gt;
  &lt;SOAP-ENV:Header/&gt;
  &lt;SOAP-ENV:Body&gt;
  &lt;v14:RateReply xmlns:v14="http://fedex.com/ws/rate/v14"&gt;
  &lt;v14:HighestSeverity&gt;ERROR&lt;/v14:HighestSeverity&gt;
  &lt;v14:Notifications&gt;
  &lt;v14:Severity&gt;ERROR&lt;/v14:Severity&gt;
  &lt;v14:Source&gt;prof&lt;/v14:Source&gt;
  &lt;v14:Code&gt;1000&lt;/v14:Code&gt;
  &lt;v14:Message&gt;Authentication Failed&lt;/v14:Message&gt;
  &lt;/v14:Notifications&gt;
  &lt;v14:TransactionDetail&gt;
  &lt;v14:CustomerTransactionId&gt;java sample - Rate Request&lt;/v14:CustomerTransactionId&gt;
  &lt;/v14:TransactionDetail&gt;
  &lt;v14:Version&gt;
  &lt;v14:ServiceId&gt;crs&lt;/v14:ServiceId&gt;
  &lt;v14:Major&gt;14&lt;/v14:Major&gt;
  &lt;v14:Intermediate&gt;0&lt;/v14:Intermediate&gt;
  &lt;v14:Minor&gt;0&lt;/v14:Minor&gt;
  &lt;/v14:Version&gt;
  &lt;/v14:RateReply&gt;
  &lt;/SOAP-ENV:Body&gt;
  &lt;/SOAP-ENV:Envelope&gt;
  </code></pre>
  
  <p>Please help me resolve this issue :(</p>