Skip to content

Issue with mapping Java response body of Seller Campaign after Update operation #23

@CowSaysBaa

Description

@CowSaysBaa

Hello,
The updateMarketplaceSellerCampaign method would throw an java.lang.IllegalArgumentException when attempting to map the JSON response to SellerCampaignMessage if the suspensionReasons is null.

This appears to be due to jsonObj.get("suspensionReasons") returning a null String that will break the logic in validateJsonObject.
Any assistance to fix this issue would be greatly appreciated.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions