Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Report: Deserialization Error in Intuit QuickBooks API #216

Open
quentinramas opened this issue Jun 7, 2024 · 1 comment
Open

Bug Report: Deserialization Error in Intuit QuickBooks API #216

quentinramas opened this issue Jun 7, 2024 · 1 comment

Comments

@quentinramas
Copy link

Issue Description:
I am encountering an error when calling the above method to retrieve all invoices from my QuickBooks account. The error occurs during the deserialization process and is preventing the retrieval of the data.

Context:
I am calling the Intuit API to retrieve all invoices from my QuickBooks account. During this process, the API fails to deserialize the response data correctly, specifically the LineDetailTypeEnum field.

Method: dataService.findAll(new Invoice())

Technical Details:

API Version: 6.3.0
Jackson Version: 2.16.0 (Note: This is different from the API's Jackson version 2.15.2 due to other dependencies in my application)

I believe the discrepancy in Jackson versions might be contributing to the deserialization error. However, downgrading Jackson to 2.15.2 is not feasible due to other dependencies.

Could you please investigate this issue and provide guidance on how to resolve it? If further information is required, I am more than happy to provide additional details.

Thank you for your assistance in this matter.

See attached the error log.

Best regards,

Quentin

ErrorLog.txt

@Malarvzh
Copy link
Collaborator

@quentinramas - We've confirmed that version 6.3.0 works without any issues when retrieving invoices. However, you're encountering the exception com.fasterxml.jackson.databind.exc.InvalidFormatException because you've changed the Jackson version. To resolve this, we recommend using the API-supported Jackson version, which is 2.9.10. If you continue to experience problems, please let us know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants