Skip to content
This repository was archived by the owner on Oct 30, 2023. It is now read-only.
This repository was archived by the owner on Oct 30, 2023. It is now read-only.

UnrecognizedPropertyException #318

Description

@denys-verizhenko

You should change annotation in MarginTransaction class from @JsonIgnoreProperties to @JsonIgnoreProperties(ignoreUnknown = true) otherwise you will get such exception:
com.binance.api.client.exception.BinanceApiException: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "clientTag" (class com.binance.api.client.domain.account.MarginTransaction), not marked as ignorable (one known property: "tranId"])
at [Source: (okhttp3.ResponseBody$BomAwareReader); line: 1, column: 36] (through reference chain: com.binance.api.client.domain.account.MarginTransaction["clientTag"])

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions