QuickBooks web php sdk数据服务返回null

QuickBooks web php sdk数据服务返回null,php,sdk,intuit-partner-platform,quickbooks-online,Php,Sdk,Intuit Partner Platform,Quickbooks Online,我试图从QuickBooks中读取实体,但从DataService中得到NULL 我正在本地主机(LAMP)上测试 我创建了会计应用程序和沙盒 我从这里下载了适用于PHP的SDK版本2.2.0 我在SDK_ROOT/SDK.conf中将baseURI更改为沙盒 <baseUrl qbd="https://quickbooks.api.intuit.com/" qbo="https://quickbooks.api.intuit.com/"

我试图从QuickBooks中读取实体,但从DataService中得到NULL

我正在本地主机(LAMP)上测试

我创建了会计应用程序和沙盒

我从这里下载了适用于PHP的SDK版本2.2.0

我在SDK_ROOT/SDK.conf中将baseURI更改为沙盒

<baseUrl qbd="https://quickbooks.api.intuit.com/" 
                qbo="https://quickbooks.api.intuit.com/" 
                ipp="https://appcenter.intuit.com/api/" />
$Allenties始终为空

当我尝试保存时,我得到:

 CheckNullResponseAndThrowException - Response Null or Empty thrown

$customer = new IPPCustomer();
$customer->DisplayName = "NewOne123";
$dataService->add($customer);
我错过什么了吗

更新: 在类
SyncRestHandler
中,当我从打印响应时(第269行)

我得到:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<IntuitResponse xmlns="http://schema.intuit.com/finance/v3" time="2015-10-09T02:29:24.520-07:00">
<Fault type="SystemFault">
<Error code="10000" element="SystemFailureError">
<Message>An application error has occurred while processing your request</Message>
<Detail>System Failure Error: java.lang.NullPointerException</Detail></Error></Fault>
</IntuitResponse>

处理您的请求时发生应用程序错误
系统故障错误:java.lang.NullPointerException

不是问题的答案,但非功能SDK的解决方案是
$this->GetOAuthResponseHeaders($oauth)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<IntuitResponse xmlns="http://schema.intuit.com/finance/v3" time="2015-10-09T02:29:24.520-07:00">
<Fault type="SystemFault">
<Error code="10000" element="SystemFailureError">
<Message>An application error has occurred while processing your request</Message>
<Detail>System Failure Error: java.lang.NullPointerException</Detail></Error></Fault>
</IntuitResponse>