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

Handling JSON Parsing Errors: Analyzing Data Models for Product Variants and Reduced Amounts #1

Open
alirezakhtm opened this issue Apr 25, 2024 · 0 comments

Comments

@alirezakhtm
Copy link

To parse the JSON response body, there is an error exception related to the data model of Product, Variant, and AppliedReductionAmount. Additionally, the data model for AppliedReduction is not present.

Exp of Error:

java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 10402 path $.entities[0].categories[0]

alirezakhtm pushed a commit to alirezakhtm/storefront-api-java-sdk that referenced this issue Apr 25, 2024
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

1 participant