<?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>Method:API Q&amp;A</title><link>http://forums.method.me/cs/forums/15.aspx</link><description>Ask questions specific to the MethodAPI from the Method Team and other Method users.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 SP2 (Build: 31113.47)</generator><item><title>Re: MethodAPISelect_DataSetV2</title><link>http://forums.method.me/cs/forums/thread/26686.aspx</link><pubDate>Wed, 15 Apr 2015 19:16:59 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:26686</guid><dc:creator>Method_Jonathan</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/26686.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=26686</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Hi Russ,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve sent you an email in reply to this thread. &amp;nbsp;We can finish this conversation via email.&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;</description></item><item><title>Re: MethodAPISelect_DataSetV2</title><link>http://forums.method.me/cs/forums/thread/26678.aspx</link><pubDate>Wed, 15 Apr 2015 15:47:48 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:26678</guid><dc:creator>Russ_Cummings</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/26678.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=26678</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Jonathan,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt;Can you email me a list from the logs of the urls that are using the incorrect credentials?&lt;/p&gt;
&lt;p&gt;We are modifying the code to handle blanks and nulls passed into the serial and code number parameters.&lt;/p&gt;</description></item><item><title>Re: MethodAPISelect_DataSetV2</title><link>http://forums.method.me/cs/forums/thread/26677.aspx</link><pubDate>Wed, 15 Apr 2015 15:29:39 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:26677</guid><dc:creator>Method_Jonathan</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/26677.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=26677</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Hi Russ,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I see two potential problems based on our&amp;nbsp;logs -&lt;/p&gt;
&lt;p&gt;1) I can see for the majority of calls&amp;nbsp;&lt;span id="mce_24_start" style="overflow:hidden;"&gt;&lt;/span&gt;you are using the username@yourcompany.com for authentication.&lt;span id="mce_25_start" style="overflow:hidden;"&gt;&lt;/span&gt; &amp;nbsp;I do see periodic calls to the methodAPISelect_DataSetV2 that utilize just your Username though - and these appear to be calls that are failing. &amp;nbsp;&lt;span id="mce_7_start" style="overflow:hidden;"&gt;My hunch here is that if you &lt;span id="mce_12_start" style="overflow:hidden;"&gt;find this call in your code and&amp;nbsp;&lt;/span&gt;update the credentials, you will no longer receive the error (or at least we can eliminate this as a factor and dive deeper into the problem)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;2) I also see parsing errors for cases where you are passing in &amp;quot;SerialNo= AND CodeNo=&amp;quot; ... you may want to isolate&lt;span id="mce_18_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;span id="mce_15_start" style="overflow:hidden;"&gt;&lt;/span&gt; &lt;span id="mce_14_start" style="overflow:hidden;"&gt;&lt;span id="mce_15_end" style="overflow:hidden;"&gt;such&lt;/span&gt;&lt;/span&gt;&amp;nbsp;cases where&amp;nbsp;iSerial or iCode are blank and modify the query before sending a request to the API.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Let me know if this helps,&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;</description></item><item><title>MethodAPISelect_DataSetV2</title><link>http://forums.method.me/cs/forums/thread/26667.aspx</link><pubDate>Tue, 14 Apr 2015 20:25:51 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:26667</guid><dc:creator>Russ_Cummings</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/26667.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=26667</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;We have code that has been in place for over two years and worked flawlessly. After the login changes we have started getting the following result:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;span class="html-comment"&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;windows-1252&amp;quot; ?&amp;gt;&lt;/span&gt;&lt;span class="html-tag"&gt;&amp;lt;MethodAPI &lt;span class="html-attribute-name"&gt;response&lt;/span&gt; = &amp;quot;&lt;span class="html-attribute-value"&gt;Failure. There were problems with running the query, please verify your parameters&lt;/span&gt;&amp;quot; &amp;gt;&lt;/span&gt;&lt;span class="html-tag"&gt;&amp;lt;/MethodAPI&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="html-tag"&gt;&lt;/span&gt;Yes. We have changed the login credentials in our code and have verified that they are correct. (They are my login credentials.)&lt;/p&gt;
&lt;p&gt;No. We have not made any other changes to the code.&lt;/p&gt;
&lt;p&gt;Strangely, the code works at times and then goes back to not working.&lt;span id="mce_1_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;Code is below.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;--&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;sSelectFields = &amp;quot;FullName&amp;quot;&lt;br /&gt; sSelectFrom = &amp;quot;Customer&amp;quot;&lt;br /&gt; sSelectWhere = &amp;quot;SerialNo=&amp;quot; &amp;amp; iSerial &amp;amp; &amp;quot; AND &amp;quot; &amp;amp; &amp;quot;CodeNo=&amp;quot; &amp;amp; iCode&lt;br /&gt; sSelectGroupBy = &amp;quot;&amp;quot;&lt;br /&gt; sSelectHaving = &amp;quot;&amp;quot;&lt;br /&gt; sSelectOrderBy = &amp;quot;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;#39;Call the MethodAPI to get the dataset&lt;br /&gt; sResult = wbsMethodAPI.MethodAPISelect_DataSetV2(sCompanyAccount, sUserName, sPassword, _&lt;br /&gt; &amp;quot;&amp;quot;, datResponse, sSelectFrom, sSelectFields, sSelectWhere, sSelectGroupBy, sSelectHaving, sSelectOrderBy)&lt;br /&gt; wbsMethodAPI = Nothing&lt;br /&gt; &lt;br /&gt; if gdebug then response.write(sResult)&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;--&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;I am hoping a developer can provide some info as to what is causing the error message. This is a critical function in our business, we would like to resolve the issue immediately.&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>