Note that there are some explanatory texts on larger screens.

plurals
  1. PO"Internal Server Error" on QBO Api Update call
    text
    copied!<p>When I send an update request to the QBO V2 api, I get back an 'internal server error' response. These requests used to work; I even have an unchanged unit test from before specifically for this request that no longer works.</p> <p>All of my other request types seem to still be working. Normally QBO gives pretty decent error messages if it's something I messed up with the request.</p> <p>Has anyone else run into a similar issue recently, or have any ideas on what I could be doing that wouldn't result in a normal error message?</p> <p>Here's a copy of one of the requests:</p> <pre><code>POST /resource/customer/v2/682571780/1?oauth_version=1.0&amp;oauth_token=*token*&amp;oauth_nonce=*nonce*&amp;oauth_timestamp=1372345998&amp;oauth_signature=*signature*&amp;oauth_consumer_key=*key*&amp;oauth_signature_method=HMAC-SHA1 HTTP/1.1 Host: qbo.sbfinance.intuit.com Content-Length: 1368 content-type: application/xml Accept-Encoding: gzip, deflate, compress Accept: */* User-Agent: python-requests/1.2.3 CPython/2.7.3 Linux/3.5.0-17-generic &lt;?xml version='1.0' encoding='ASCII' standalone='yes'?&gt; &lt;Customer xmlns="http://www.intuit.com/sb/cdm/v2"&gt; &lt;Id idDomain="QBO"&gt;1&lt;/Id&gt; &lt;SyncToken&gt;49&lt;/SyncToken&gt; &lt;MetaData&gt; &lt;CreateTime&gt;2013-04-10T14:07:41-07:00&lt;/CreateTime&gt; &lt;LastUpdatedTime&gt;2013-04-25T09:40:40-07:00&lt;/LastUpdatedTime&gt; &lt;/MetaData&gt; &lt;Name&gt;Test A. User&lt;/Name&gt; &lt;Address&gt; &lt;Line1&gt;123 Test Drive&lt;/Line1&gt; &lt;City&gt;Smallville&lt;/City&gt; &lt;Country&gt;United States of America&lt;/Country&gt; &lt;CountrySubDivisionCode&gt;WY&lt;/CountrySubDivisionCode&gt; &lt;PostalCode&gt;12345&lt;/PostalCode&gt; &lt;GeoCode&gt;LAT=42.8142432,LNG=-73.9395687&lt;/GeoCode&gt; &lt;Tag&gt;Billing&lt;/Tag&gt; &lt;/Address&gt; &lt;Phone&gt; &lt;DeviceType&gt;Primary&lt;/DeviceType&gt; &lt;FreeFormNumber&gt;(123) 456-7890&lt;/FreeFormNumber&gt; &lt;/Phone&gt; &lt;WebSite/&gt; &lt;Email&gt; &lt;Address&gt;test-user@mailinator.com&lt;/Address&gt; &lt;/Email&gt; &lt;GivenName&gt;Test&lt;/GivenName&gt; &lt;MiddleName&gt;A&lt;/MiddleName&gt; &lt;FamilyName&gt;User&lt;/FamilyName&gt; &lt;DBAName&gt;Emerging Threats&lt;/DBAName&gt; &lt;CustomField&gt; &lt;DefinitionId&gt;Preferred Delivery Method&lt;/DefinitionId&gt; &lt;Value&gt;PRINT&lt;/Value&gt; &lt;/CustomField&gt; &lt;CustomField&gt; &lt;DefinitionId&gt;Resale Number&lt;/DefinitionId&gt; &lt;/CustomField&gt; &lt;CustomField&gt; &lt;DefinitionId&gt;Bill With Parent&lt;/DefinitionId&gt; &lt;Value&gt;false&lt;/Value&gt; &lt;/CustomField&gt; &lt;ShowAs&gt;Test User&lt;/ShowAs&gt; &lt;OpenBalance&gt; &lt;Amount&gt;20.00&lt;/Amount&gt; &lt;/OpenBalance&gt; &lt;/Customer&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload