Loading

MuleSoft QuickBooks Connector Error 404 Trying to Retrieve Information

Дата публикации: Sep 2, 2025
Описание

A 404 error is encountered while trying to retrieve information from Quickbooks using the MuleSoft Connector.

The error will look like the following: 

Error 
****************
ERROR 2022-02-16 17:30:58,506 [[quickbooks].rest.connect.Quickbooks_Online_Connector_Mule4Connector_Config.01 SelectorRunner] [processor: test-connectorsFlow2/processors/0; event: 198d5160-8f20-11ec-b392-72cf49356547] org.mule.runtime.core.internal.exception.OnErrorPropagateHandler: 
********************************************************************************
Message: Request returned status code 404
Element               : test-connectorsFlow2/processors/0 @ quickbooks:quickbooks.xml:30 (Get query)
Element DSL           : <quickbooks-online-connector-mule-4:query-post32 doc:name="Get query" doc:id="6548e654-a60b-4c9e-b752-0cefde7892df" config-ref="Quickbooks_Online_Connector_Mule4Connector_Config" queryQueryParam="#["select * from Invoice"]" minorversionQueryParam="62" userAgentHeader="Intuit-qbov3-postman-collection1"></quickbooks-online-connector-mule-4:query-post32>
Error type: QUICKBOOKS-ONLINE-CONNECTOR-MULE-4:NOT_FOUND
FlowStack             : at test-connectorsFlow2(test-connectorsFlow2/processors/0 @ quickbooks:quickbooks.xml:30 (Get query))

  (set debug level logging or '-Dmule.verbose.exceptions=true' for everything)
********************************************************************************
HTTP/1.1 500 Server Error
Content-Type: text/plain; charset=UTF-8
Content-Length: 32
Date: Wed, 16 Feb 2022 12:00:58 GMT
Connection: close

Решение

The cause of the 404 error trying to access data from QuickBooks is that the base URL used as per documentation, is not correct.

SOLUTION

On changing the Base URL from "https://sandbox-quickbooks.api.intuit.com" to "https://sandbox-quickbooks.api.intuit.com/v3/company/{ID}", the error no longer occurs.


To get the correct URL, verify using the POSTMAN collection.

Дополнительные ресурсы

Quickbooks Online Connector 2.0

Номер статьи базы знаний

001119179

 
Загрузка
Salesforce Help | Article