<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.method.me/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results by user ID 18217</title><link>http://forums.method.me/cs/search/SearchResults.aspx?o=DateDescending&amp;u=18217</link><description>Search results by user ID 18217</description><dc:language>en-US</dc:language><generator>CommunityServer 2007.1 SP2 (Build: 31113.47)</generator><item><title>Re: 'Object reference not set to an instance of an object.' error with MethodAPIInsertV2 endpoint</title><link>http://forums.method.me/cs/forums/p/12251/35857.aspx#35857</link><pubDate>Wed, 12 Sep 2018 18:25:05 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:35857</guid><dc:creator>hdemirev</dc:creator><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;&lt;/span&gt;Okay, I&amp;#39;ll definitely try that. I was initally confused because on the info page for this method&lt;span id="mce_2_start" style="overflow:hidden;"&gt; (https://www.methodintegration.com/MethodAPI/service.asmx?op=MethodAPIInsertV2)&lt;/span&gt;, you have the SOAP examples first, and then what seems to be a regular HTTP GET/POST.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: 'Object reference not set to an instance of an object.' error with MethodAPIInsertV2 endpoint</title><link>http://forums.method.me/cs/forums/p/12251/35854.aspx#35854</link><pubDate>Wed, 12 Sep 2018 15:37:54 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:35854</guid><dc:creator>hdemirev</dc:creator><description>&lt;p&gt;I&amp;#39;m using an HTTP post. Not using a SOAP package, just a standard request library (https://www.npmjs.com/package/request).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;Here&amp;#39;s the request code:&amp;nbsp;&lt;span id="mce_6_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;&lt;span id="mce_2_start" style="overflow:hidden;"&gt;&lt;span id="mce_3_start" style="overflow:hidden;"&gt;&lt;span id="mce_4_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;request.post({&lt;span id="mce_7_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;br /&gt; url: `https://www.methodinte&lt;span id="mce_5_start" style="overflow:hidden;"&gt;&lt;/span&gt;gration.com/MethodAPI/service.asmx/MethodAPIInsertV2`,&lt;br /&gt; form: {&lt;br /&gt; strCompanyAccount: process.env.METHOD_ACCOUNT,&lt;br /&gt; strLogin: process.env.METHOD_USERNAME,&lt;br /&gt; strPassword: process.env.METHOD_PASS,&lt;br /&gt; strSessionID: &amp;#39;&amp;#39;,&lt;br /&gt; strTable: &amp;#39;Contacts&amp;#39;,&lt;br /&gt; arrInsertFieldsArray: [&amp;#39;FirstName&amp;#39;, &amp;#39;LastName&amp;#39;],&lt;br /&gt; arrInsertValuesArray: [&amp;#39;TestFirst&amp;#39;, &amp;#39;TestLast&amp;#39;]&lt;br /&gt; },&lt;br /&gt; headers: {&lt;br /&gt; &amp;#39;Content-Type&amp;#39;: &amp;#39;application/x-www-form-urlencoded&amp;#39;&lt;br /&gt; }&lt;br /&gt; }&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_2_end" style="overflow:hidden;"&gt;&lt;span id="mce_3_end" style="overflow:hidden;"&gt;&lt;span id="mce_4_end" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>'Object reference not set to an instance of an object.' error with MethodAPIInsertV2 endpoint</title><link>http://forums.method.me/cs/forums/p/12251/35852.aspx#35852</link><pubDate>Wed, 12 Sep 2018 14:13:55 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:35852</guid><dc:creator>hdemirev</dc:creator><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Hi,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m getting this very vague error when trying to create a contact through the API. I think it might have something to do with how I&amp;#39;m sending in the field and value arrays, but I&amp;#39;ve tried everything and can&amp;#39;t figure out what the issue might be.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What&amp;#39;s the correct way to send those arrays in Node.js? Is there some sort of other issue going on?&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>