QuickBooks Online Error: Handling QBOE qbxml request has error:Server returned HTTP response code: 400

Document created by Adam Arrowsmith Employee on Oct 26, 2011
Version 1Show Document
  • View in full screen mode
You receive the following error when attempting to connect to QuickBooks Online:

com.boomi.process.ProcessException: com.boomi.connector.ConnectorException: Handling QBOE qbxml request has error:Server returned HTTP response code: 400 for URL: https://apps.quickbooks.com/j/AppGateway
    at com.boomi.process.graph.ProcessGraph.execute(ProcessGraph.java:167)
    at com.boomi.process.ProcessExecution.call(ProcessExecution.java:458)
    at com.boomi.execution.ExecutionTask.call(ExecutionTask.java:568)
    at com.boomi.execution.ThreadedExecutionForker$ExecutionCallable.call(ThreadedExecutionForker.java:63)
    at com.boomi.execution.ThreadedExecutionForker$ExecutionCallable.call(ThreadedExecutionForker.java:52)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: com.boomi.connector.ConnectorException: Handling QBOE qbxml request has error:Server returned HTTP response code: 400 for URL: https://apps.quickbooks.com/j/AppGateway
    at com.boomi.connector.quickbooks.QBSend.handlQBOE(QBSend.java:424)
    at com.boomi.connector.quickbooks.QBSend.handle(QBSend.java:460)
    at com.boomi.connector.quickbooks.QBSend.send(QBSend.java:91)
    at com.boomi.connector.custom.CustomSendConnectorAction.invoke(CustomSendConnectorAction.java:53)
    at com.boomi.connector.base.BaseConnectorAction.invokeBase(BaseConnectorAction.java:217)
    at com.boomi.connector.base.BaseConnectorAction.invoke(BaseConnectorAction.java:169)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.boomi.connector.base.BaseConnector$InvokerWithClassLoader.invoke(BaseConnector.java:596)
    at $Proxy35.invoke(Unknown Source)
    at com.boomi.process.shape.ConnectorShapeHandler.execute(ConnectorShapeHandler.java:88)
    at com.boomi.process.shape.ConnectorShape.execute(ConnectorShape.java:130)
    at com.boomi.process.graph.ProcessShape.executeShape(ProcessShape.java:372)
    at com.boomi.process.graph.ProcessGraph.executeShape(ProcessGraph.java:307)
    at com.boomi.process.graph.ProcessGraph.executeNextShapes(ProcessGraph.java:358)
    at com.boomi.process.graph.ProcessGraph.executeShape(ProcessGraph.java:318)
    at com.boomi.process.graph.ProcessGraph.executeNextShapes(ProcessGraph.java:358)
    at com.boomi.process.graph.ProcessGraph.execute(ProcessGraph.java:160)
    ... 9 more
Caused by: java.io.IOException: Server returned HTTP response code: 400 for URL: https://apps.quickbooks.com/j/AppGateway
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
    at com.boomi.connector.quickbooks.QBSend.handlQBOE(QBSend.java:400)
    ... 28 more
This is caused by a missing required field in the request message sent to QuickBooks.
  •           Review Intuit's Onscreen Reference guide for the list of APIs supported by QuickBooks Online.
  •           Choose Format=QBXML, then under Editions, uncheck "US and check "OE". This will filter the list of "Messages" to only what is available for QuickBooks Online.
  •           Choose the Message type you are working with in your Boomi Process (e.g. CustomerAdd). For each field, note the "Occurrences" to the right. This indicates the minimum number of occurrences, so if a given fields says "1", it is required. For example, the only required field in the CustomerAdd message is "Name". Optional fields are denoted by "0-1" or "0-n".
  •           Review your mapping carefully to make sure you are mapping to all required fields, and that they are being populated by your source data. Consider using Default values in your map for any values that may be absent in the source data.

Attachments

    Outcomes