Ajendra Prasad
Ajendra Prasad

Reputation: 327

Getting error when connecting to an app using Intuit

I have just created an app in Customer Account Data section in

https://developer.intuit.com after signup.

Then I created a .NET application to get authorization after providing the details, I received just after app was successfully created like consumerKey and consumerSecret.

I am able to get the page that authenticate with my username but there is also an error like :

Oops! An error has occurred.
Please close this window and try again.
Error Code: invalid_database
Message: AppId cannot be <= 0, appId=-1

My main aim is to get back to the page which shows a successful authentication. I again checked my app in

https://developer.intuit.com/Application/List

and I see Status: Pending Review for that app.

I just want to test the authentication for a sample application.

How can I understand this review system? Do we have something like sandbox in PayPal for testing, and if so, how to get started with it?

Upvotes: 0

Views: 215

Answers (3)

nimisha shrivastava
nimisha shrivastava

Reputation: 2367

I think you are confused between apps for Customer Account Data and Quickbooks. If you created an app for CAD, then you need to upload a certificate too. If you go to GITHUB sample app for CAD- https://github.com/IntuitDeveloperRelations/IPP_Sample_Code->customer account data

You will see that it does not require the oauth callback url or any of the values, you have mentioned. All these values are required when you create a quickbooks sample application.

The above link has both the code samples for CAD as well as Quickbooks. Please verify what you are looking for.

Upvotes: 2

Manas Mukherjee
Manas Mukherjee

Reputation: 5340

Most probably you were using wrong public-private key pair.

While setting up AggCat intergration, you had used one public key, but while doing SAML assertion you are not using the corresponding .key/.p12 file. Please verify that.

You can easily test this use case using APIExplorer tool.

https://developer.intuit.com/apiexplorer?apiname=CustomerAccountData

You can refer the following steps to get new tokens and test API calls.

Key generation using openssl - https://developer.intuit.com/docs/0020_customeraccountdata/007_firstrequest

After generating these keys, you can create a sample app with the public key. https://developer.intuit.com/docs/0020_customeraccountdata/009_using_customeraccountdata/0010_gettingstarted/0015_create_an_cad_integration

then use the .p12 file with pwd for SAML assertion in apiexplorer Link - https://developer.intuit.com/apiexplorer

Thanks

Upvotes: 1

Keith Palmer Jr.
Keith Palmer Jr.

Reputation: 27952

Are you 100% positive that you have your OAuth key, secret, and your app token correctly entered in the config for your app?

You should not need to go through any sort of review process - you probably just have something entered/configured incorrectly.

Upvotes: 2

Related Questions