<?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: CIM error &amp;quot;The parameter is not correct.&amp;quot; in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-error-quot-The-parameter-is-not-correct-quot/m-p/25375#M13542</link>
    <description>&lt;P&gt;Did you check what is in the strReq before you send it?&lt;/P&gt;</description>
    <pubDate>Thu, 05 Apr 2012 11:58:40 GMT</pubDate>
    <dc:creator>RaynorC1emen7</dc:creator>
    <dc:date>2012-04-05T11:58:40Z</dc:date>
    <item>
      <title>CIM error "The parameter is not correct."</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-error-quot-The-parameter-is-not-correct-quot/m-p/25293#M13502</link>
      <description>&lt;P&gt;Hello-&lt;/P&gt;&lt;P&gt;I'm working with the CIM sample code (ASP Classic) and am converting it to VB.NET.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following code to actually send the API request. It works until the "objHTTP.send(strReq)". At that point, I get the error "The parameter is not correct."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know this is a shot-in-the-dark, but does anyone have any clue why I would be getting this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Function SendAPIRequest(ByVal strReq) 'returns an MSXML DOMDocument
            Dim objHTTP As Object
            Dim objResponse As Object
            Dim gstrApiUrl As String = "&lt;A target="_blank" href="https://apitest.authorize.net/xml/v1/request.api"&gt;https://apitest.authorize.net/xml/v1/request.api&lt;/A&gt;"

            strReq = Replace(strReq, " ", "%20")
            
            objHTTP = CreateObject("Microsoft.XMLHTTP", "")
            objHTTP.open("post", gstrApiUrl, False)
            objHTTP.setRequestHeader("Content-Type", "text/xml")
            objHTTP.send(strReq)
            objResponse = CreateObject("MSXML2.DOMDocument.4.0")
            objResponse.loadXML(objHTTP.response.Text)
            objResponse.setProperty("SelectionNamespaces", "xmlns:api='AnetApi/xml/v1/schema/AnetApiSchema.xsd'")

            SendAPIRequest = objResponse
        End Function&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Thanks for any insight!&lt;/P&gt;&lt;P&gt;Nate&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2012 00:39:36 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-error-quot-The-parameter-is-not-correct-quot/m-p/25293#M13502</guid>
      <dc:creator>natetg23</dc:creator>
      <dc:date>2012-04-03T00:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: CIM error "The parameter is not correct."</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-error-quot-The-parameter-is-not-correct-quot/m-p/25375#M13542</link>
      <description>&lt;P&gt;Did you check what is in the strReq before you send it?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2012 11:58:40 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-error-quot-The-parameter-is-not-correct-quot/m-p/25375#M13542</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2012-04-05T11:58:40Z</dc:date>
    </item>
  </channel>
</rss>

