Search code examples
c#asp.netquickbooksintuit-partner-platform

Quick book integration with asp.net no apptoken detected


While I am accessing the Quick book intuit partner platform Request URL in my asp.net app, I am having the following issue:

<?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>

How do I pass the apptoken?


Solution

  • PFB the sample web.config. You need to setup consumerkey, consumerSecret and apptoken in this file.

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

    .Net Sample apps are available here - https://developer.intuit.com/docs/0025_quickbooksapi/0055_devkits/sample_code

    Using some RESTClients (like Rest client plugin of mozilla), please verify if your OAuth tokens are correct.

    You can use ApiExplorer tool to call these endpoints.

    https://developer.intuit.com/apiexplorer

    Thanks