QB IDS V3 - 创建时间活动时出错消息

时间:2014-03-04 02:40:03

标签: intuit-partner-platform

尝试使用QB IDS V3创建TimeActivity时遇到问题。我有时会得到一些我真的不知道根本原因的错误。最糟糕的是,有时会在Quickbooks上创建TimeActiviy条目,但会返回错误消息。在下面找到我收到的一些错误消息和我的TimeActivity Request的样本

Error #1) javax.xml.bind.UnmarshalException
- with linked exception:
[org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 32; An invalid XML character (Unicode: 0x13) was found in the element content of the document.]

Error #2) ERROR CODE:6003, ERROR MESSAGE:message=General IO error while proxying request; errorCode=006003; statusCode=500, ERROR DETAIL:null

Error #3) java.net.UnknownHostException: quickbooks.api.intuit.com: nodename nor servname provided, or not known

Error #4) java.net.SocketException: Connection reset

我的要求如下:

<TimeActivity domain="QBO" sparse="false"  xmlns="http://schema.intuit.com/finance/v3">
    <TxnDate>2014-02-11</TxnDate>
    <NameOf>Employee</NameOf>
    <EmployeeRef name="Employee Name">2113</EmployeeRef>
    <CustomerRef name="custom Name">1859</CustomerRef>
    <ItemRef name="Database Development">5</ItemRef>
    <BillableStatus>NotBillable</BillableStatus>
    <Taxable>false</Taxable>
    <HourlyRate>0</HourlyRate>
    <Hours>8</Hours>
    <Minutes>0</Minutes>
    <Description>description</Description>
<TimeActivity>

我很长时间都在努力解决这个问题,最糟糕的是无法找到根本原因,为什么有时候事情会好起来,有时候却没有。  有人可以帮我解决这个问题

1 个答案:

答案 0 :(得分:0)

PN - QBO US支持ASCII-7位,Global支持Unicode。

如果服务返回除此之外的任何内容,则应将其视为服务问题。如果我得到解决方法,那么我将更新此帖子。

由于

相关问题