QuickBooks found an error when parsing the provided XML text stream

前端 未结 1 1789
粉色の甜心
粉色の甜心 2021-01-23 02:24

I am using Consolibyte PHP SDK for QuickBooks Desktop. I have got this error when I have tried to get Bills from the QuickBooks Desktop-

0x80040400:QuickBooks fo         


        
相关标签:
1条回答
  • 2021-01-23 03:09

    Go look at the OSR documentation:

    • https://developer-static.intuit.com/qbSDK-current/Common/newOSR/index.html

    The FromModifiedDate filter is very clearly wrapped inside another XML node:

    <ModifiedDateRangeFilter> <!-- optional -->
      <FromModifiedDate >DATETIMETYPE</FromModifiedDate> <!-- optional -->
      <ToModifiedDate >DATETIMETYPE</ToModifiedDate> <!-- optional -->
    </ModifiedDateRangeFilter>
    

    Fix your XML so that it conforms to what the OSR shows.

    If you'd taken the time to search, you'd find that there is an XML Validator tool included with the SDK which will tell you exactly what the error in your XML is.

    0 讨论(0)
提交回复
热议问题