<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: API response is 302 Moved Temporarily in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/API-response-is-302-Moved-Temporarily/m-p/54004#M29071</link>
    <description>&lt;P&gt;see that too just by putting that in browser url address &lt;A href="https://apitest.authorize.net/xml/v1/request.api" target="_blank"&gt;https://apitest.authorize.net/xml/v1/request.api&lt;/A&gt;&lt;/P&gt;&lt;P&gt;sometime I get&lt;/P&gt;&lt;P&gt;the correct respone&lt;/P&gt;&lt;PRE&gt;{"messages":{"resultCode":"Error","message":[{"code":"E00003","text":"Root element is missing."}]}}&lt;/PRE&gt;&lt;P&gt;sometime it redirect to&lt;/P&gt;&lt;PRE&gt;https://apitest.authorize.net/Error.htm?&lt;/PRE&gt;&lt;P&gt;and the screen show&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;Error&lt;/DIV&gt;&lt;DIV class="Line"&gt;&lt;HR /&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;An unanticipated error occurred while processing this request. Please click your browser’s Back button to return to the previous page.&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 14 Mar 2016 23:59:16 GMT</pubDate>
    <dc:creator>RaynorC1emen7</dc:creator>
    <dc:date>2016-03-14T23:59:16Z</dc:date>
    <item>
      <title>API response is 302 Moved Temporarily</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/API-response-is-302-Moved-Temporarily/m-p/53996#M29063</link>
      <description>&lt;P&gt;I'm sending requests to&amp;nbsp;&lt;A href="https://apitest.authorize.net/xml/v1/request.api" target="_blank"&gt;https://apitest.authorize.net/xml/v1/request.api&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In response, sometimes I'm getting the following response:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;HTTP/1.1 302 Moved Temporarily
Location: /Error.htm?
Server: Microsoft-IIS/7.5
X-Powered-By: ASP.NET
Content-Length: 128
Date: Mon, 14 Mar 2016 21:25:50 GMT
Connection: keep-alive

&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;Object moved&amp;lt;/title&amp;gt;&amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;
&amp;lt;h2&amp;gt;Object moved to &amp;lt;a href="/Error.htm?"&amp;gt;here&amp;lt;/a&amp;gt;.&amp;lt;/h2&amp;gt;
&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I keep sending the same request, then it will sometimes return normally.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The request:&lt;/P&gt;
&lt;PRE&gt;&amp;lt;createCustomerPaymentProfileRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;
&amp;lt;merchantAuthentication&amp;gt;
&amp;lt;name&amp;gt;xxxxx&amp;lt;/name&amp;gt;
&amp;lt;transactionKey&amp;gt;xxxxx&amp;lt;/transactionKey&amp;gt;
&amp;lt;/merchantAuthentication&amp;gt;
&amp;lt;customerProfileId&amp;gt;xxxxx&amp;lt;/customerProfileId&amp;gt;
&amp;lt;paymentProfile&amp;gt;
&amp;lt;billTo&amp;gt;
&amp;lt;firstName&amp;gt;Johsn&amp;lt;/firstName&amp;gt;
&amp;lt;lastName&amp;gt;Doeq&amp;lt;/lastName&amp;gt;
&amp;lt;/billTo&amp;gt;
&amp;lt;payment&amp;gt;
&amp;lt;creditCard&amp;gt;
&amp;lt;cardNumber&amp;gt;4111111111111111&amp;lt;/cardNumber&amp;gt;
&amp;lt;expirationDate&amp;gt;0122&amp;lt;/expirationDate&amp;gt;
&amp;lt;/creditCard&amp;gt;&amp;lt;/payment&amp;gt;
&amp;lt;/paymentProfile&amp;gt;
&amp;lt;validationMode&amp;gt;testMode&amp;lt;/validationMode&amp;gt;
&amp;lt;/createCustomerPaymentProfileRequest&amp;gt;&lt;/PRE&gt;
&lt;P&gt;Obviously the authentication/profile&amp;nbsp;id are&amp;nbsp;actual values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The response I eventually get is that the profile is a duplicate, so the first requests must be working because I've changed the card details so that it will make a new profile.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;HTTP/1.1 200 OK
Cache-Control: no-cache
Pragma: no-cache
Content-Type: application/xml; charset=utf-8
Expires: -1
Server: Microsoft-IIS/7.5
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: PUT,OPTIONS,POST,GET
Access-Control-Allow-Headers: x-requested-with,cache-control,content-type,origin,method,SOAPAction
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Content-Length: 870
Date: Mon, 14 Mar 2016 21:31:04 GMT
Connection: keep-alive

&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;createCustomerPaymentProfileResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;
&amp;lt;messages&amp;gt;
&amp;lt;resultCode&amp;gt;Error&amp;lt;/resultCode&amp;gt;
&amp;lt;message&amp;gt;
&amp;lt;code&amp;gt;E00039&amp;lt;/code&amp;gt;
&amp;lt;text&amp;gt;A duplicate customer payment profile already exists.&amp;lt;/text&amp;gt;
&amp;lt;/message&amp;gt;
&amp;lt;/messages&amp;gt;
&amp;lt;customerProfileId&amp;gt;xxx&amp;lt;/customerProfileId&amp;gt;
&amp;lt;customerPaymentProfileId&amp;gt;xxx&amp;lt;/customerPaymentProfileId&amp;gt;
&amp;lt;validationDirectResponse&amp;gt;xxxx&amp;lt;/validationDirectResponse&amp;gt;
&amp;lt;/createCustomerPaymentProfileResponse&amp;gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas what's going on?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2016 21:47:37 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/API-response-is-302-Moved-Temporarily/m-p/53996#M29063</guid>
      <dc:creator>calebpitman1</dc:creator>
      <dc:date>2016-03-14T21:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: API response is 302 Moved Temporarily</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/API-response-is-302-Moved-Temporarily/m-p/53999#M29066</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;FIRST REQUEST&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;createCustomerPaymentProfileRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;&amp;lt;merchantAuthentication&amp;gt;&amp;lt;name&amp;gt;79RN74gZzYG9&amp;lt;/name&amp;gt;&amp;lt;transactionKey&amp;gt;xxxxxxxxxx&amp;lt;/transactionKey&amp;gt;&amp;lt;/merchantAuthentication&amp;gt;&amp;lt;customerProfileId&amp;gt;39925837&amp;lt;/customerProfileId&amp;gt;&amp;lt;paymentProfile&amp;gt;&amp;lt;billTo&amp;gt;&amp;lt;firstName&amp;gt;Roger&amp;lt;/firstName&amp;gt;&amp;lt;lastName&amp;gt;Doe&amp;lt;/lastName&amp;gt;&amp;lt;/billTo&amp;gt;&amp;lt;payment&amp;gt;&amp;lt;creditCard&amp;gt;&amp;lt;cardNumber&amp;gt;370000000000002&amp;lt;/cardNumber&amp;gt;&amp;lt;expirationDate&amp;gt;1222&amp;lt;/expirationDate&amp;gt;&amp;lt;/creditCard&amp;gt;&amp;lt;/payment&amp;gt;&amp;lt;/paymentProfile&amp;gt;&amp;lt;validationMode&amp;gt;testMode&amp;lt;/validationMode&amp;gt;&amp;lt;/createCustomerPaymentProfileRequest&amp;gt;&lt;/PRE&gt;&lt;PRE&gt;FIRST RESPONSE&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&amp;lt;createCustomerPaymentProfileResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;&amp;lt;messages&amp;gt;&amp;lt;resultCode&amp;gt;Error&amp;lt;/resultCode&amp;gt;&amp;lt;message&amp;gt;&amp;lt;code&amp;gt;E00039&amp;lt;/code&amp;gt;&amp;lt;text&amp;gt;A duplicate customer payment profile already exists.&amp;lt;/text&amp;gt;&amp;lt;/message&amp;gt;&amp;lt;/messages&amp;gt;&amp;lt;customerProfileId&amp;gt;39925837&amp;lt;/customerProfileId&amp;gt;&amp;lt;customerPaymentProfileId&amp;gt;36218639&amp;lt;/customerPaymentProfileId&amp;gt;&amp;lt;validationDirectResponse&amp;gt;1,1,1,(TESTMODE) This transaction has been approved.,000000,P,0,none,Test transaction for ValidateCustomerPaymentProfile.,1.00,CC,auth_only,none,Roger,Doe,,,,,,,,,email@example.com,,,,,,,,,0.00,0.00,0.00,FALSE,none,AAB3621CE0823FEF51ACB66A2B2BD9F9,,,,,,,,,,,,,XXXX0002,American Express,,,,,,,,,,,,,,,,&amp;lt;/validationDirectResponse&amp;gt;&amp;lt;/createCustomerPaymentProfileResponse&amp;gt;&lt;/PRE&gt;&lt;PRE&gt;SECOND REQUEST
&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;createCustomerPaymentProfileRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;&amp;lt;merchantAuthentication&amp;gt;&amp;lt;name&amp;gt;79RN74gZzYG9&amp;lt;/name&amp;gt;&amp;lt;transactionKey&amp;gt;xxxxx&amp;lt;/transactionKey&amp;gt;&amp;lt;/merchantAuthentication&amp;gt;&amp;lt;customerProfileId&amp;gt;39925837&amp;lt;/customerProfileId&amp;gt;&amp;lt;paymentProfile&amp;gt;&amp;lt;billTo&amp;gt;&amp;lt;firstName&amp;gt;Roger&amp;lt;/firstName&amp;gt;&amp;lt;lastName&amp;gt;Doe&amp;lt;/lastName&amp;gt;&amp;lt;/billTo&amp;gt;&amp;lt;payment&amp;gt;&amp;lt;creditCard&amp;gt;&amp;lt;cardNumber&amp;gt;370000000000002&amp;lt;/cardNumber&amp;gt;&amp;lt;expirationDate&amp;gt;1222&amp;lt;/expirationDate&amp;gt;&amp;lt;/creditCard&amp;gt;&amp;lt;/payment&amp;gt;&amp;lt;/paymentProfile&amp;gt;&amp;lt;validationMode&amp;gt;testMode&amp;lt;/validationMode&amp;gt;&amp;lt;/createCustomerPaymentProfileRequest&amp;gt;&lt;/PRE&gt;&lt;PRE&gt;SECOND RESPONSE
&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;Object moved&amp;lt;/title&amp;gt;&amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;
&amp;lt;h2&amp;gt;Object moved to &amp;lt;a href="/Error.htm?"&amp;gt;here&amp;lt;/a&amp;gt;.&amp;lt;/h2&amp;gt;
&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is also occurring with createCustomerProfileRequest. When the response is the 302 Object Moved error, I know the request was received and processed because if I send it again I'll either&amp;nbsp;receive "duplicate submitted" or get the error again. I'll never get a response that it was successful on createCustomerPaymentProfileRequest; however, I'll sometimes get a successful request on createCustomerProfileRequest, but it will occasionally return the error as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've also now encountered this on&amp;nbsp;&lt;SPAN&gt;createCustomerProfileTransactionRequest as well.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;:(&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2016 22:36:21 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/API-response-is-302-Moved-Temporarily/m-p/53999#M29066</guid>
      <dc:creator>calebpitman1</dc:creator>
      <dc:date>2016-03-14T22:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: API response is 302 Moved Temporarily</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/API-response-is-302-Moved-Temporarily/m-p/54001#M29068</link>
      <description>&lt;P&gt;So I turned on FOLLOW REDIRECTS for CURL, and it went to an error page that says "An unanticipated error occurred while processing this request. Please click your browsers Back button to return to the previous page.".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Upon searching this error,&amp;nbsp;I found the following thread:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.developer.authorize.net/t5/Integration-and-Testing/Sandbox-environment-is-down/td-p/39533" target="_blank"&gt;https://community.developer.authorize.net/t5/Integration-and-Testing/Sandbox-environment-is-down/td-p/39533&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It appears the sandbox is just having issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2016 22:43:26 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/API-response-is-302-Moved-Temporarily/m-p/54001#M29068</guid>
      <dc:creator>calebpitman1</dc:creator>
      <dc:date>2016-03-14T22:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: API response is 302 Moved Temporarily</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/API-response-is-302-Moved-Temporarily/m-p/54002#M29069</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/16645"&gt;@calebpitman1﻿&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;We don't currently have any outages reported with our sandbox environment. &amp;nbsp;I've reported your issue to the product team for analysis.&lt;BR /&gt;&lt;BR /&gt;I'd recommend subscribing to this topic so that you'll be alerted via email if there are updates. To subscribe, click &lt;STRONG&gt;Topic Options&lt;/STRONG&gt; at the top of this thread and then select &lt;STRONG&gt;Subscribe&lt;/STRONG&gt;. You'll then receive an email once anyone replies to your post.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Richard&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2016 22:45:01 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/API-response-is-302-Moved-Temporarily/m-p/54002#M29069</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2016-03-14T22:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: API response is 302 Moved Temporarily</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/API-response-is-302-Moved-Temporarily/m-p/54004#M29071</link>
      <description>&lt;P&gt;see that too just by putting that in browser url address &lt;A href="https://apitest.authorize.net/xml/v1/request.api" target="_blank"&gt;https://apitest.authorize.net/xml/v1/request.api&lt;/A&gt;&lt;/P&gt;&lt;P&gt;sometime I get&lt;/P&gt;&lt;P&gt;the correct respone&lt;/P&gt;&lt;PRE&gt;{"messages":{"resultCode":"Error","message":[{"code":"E00003","text":"Root element is missing."}]}}&lt;/PRE&gt;&lt;P&gt;sometime it redirect to&lt;/P&gt;&lt;PRE&gt;https://apitest.authorize.net/Error.htm?&lt;/PRE&gt;&lt;P&gt;and the screen show&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;Error&lt;/DIV&gt;&lt;DIV class="Line"&gt;&lt;HR /&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;An unanticipated error occurred while processing this request. Please click your browser’s Back button to return to the previous page.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 14 Mar 2016 23:59:16 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/API-response-is-302-Moved-Temporarily/m-p/54004#M29071</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2016-03-14T23:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: API response is 302 Moved Temporarily</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/API-response-is-302-Moved-Temporarily/m-p/54005#M29072</link>
      <description>&lt;P&gt;Issue seem to went away.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2016 00:26:40 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/API-response-is-302-Moved-Temporarily/m-p/54005#M29072</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2016-03-15T00:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: API response is 302 Moved Temporarily</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/API-response-is-302-Moved-Temporarily/m-p/54010#M29075</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/1353"&gt;@RaynorC1emen7﻿&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/16645"&gt;@calebpitman1﻿&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We've identifed the problem and are working on a solution. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2016 16:08:39 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/API-response-is-302-Moved-Temporarily/m-p/54010#M29075</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2016-03-15T16:08:39Z</dc:date>
    </item>
  </channel>
</rss>

