与asp.net的快速书集成没有检测到apptoken

时间:2013-10-11 05:39:35

标签: c# asp.net quickbooks intuit-partner-platform

当我在我的asp.net应用程序中访问Quick book intuit合作伙伴平台请求URL时,我遇到以下问题:

<?xml version="1.0"?>
-<IntuitResponse requestId="d726443543j5h4377w49hj34734hd6" time="2013-10-11T05:32:55.345Z" xmlns="http://schema.intuit.com/finance/v3">
-<Fault type="AUTHENTICATION">
-<Error code="3102">
<Message>message=No apptoken detected; errorCode=003102; statusCode=401</Message>
</Error>
</Fault>
</IntuitResponse>

如何通过apptoken?

1 个答案:

答案 0 :(得分:1)

PFB示例web.config。您需要在此文件中设置consumerkey,consumerSecret和apptoken。

https://github.com/IntuitDeveloperRelations/IPP_Sample_Code/blob/master/QuickbooksAPI/DotNet/WebForms%20application/QuickBooksApiDotNetWebFormsSampleApp/Web.config

.Net示例应用程序可在此处获取 - https://developer.intuit.com/docs/0025_quickbooksapi/0055_devkits/sample_code

使用一些RESTClients(如Mozilla的Rest客户端插件),请验证您的OAuth令牌是否正确。

您可以使用ApiExplorer工具调用这些端点。

https://developer.intuit.com/apiexplorer

由于

相关问题