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

String "MAX_POSITION": value not one of declared Enum instance names #277

Open
fenix-asiakredit opened this issue Sep 3, 2020 · 1 comment

Comments

@fenix-asiakredit
Copy link

I got this exception today, looks like Binance just updated their API.

com.binance.api.client.exception.BinanceApiException: com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type com.binance.api.client.domain.general.FilterTypefrom String "MAX_POSITION": value not one of declared Enum instance names: [MARKET_LOT_SIZE, ICEBERG_PARTS, EXCHANGE_MAX_NUM_ORDERS, MAX_ALGO_ORDERS, MAX_NUM_ORDERS, EXCHANGE_MAX_ALGO_ORDERS, MAX_NUM_ALGO_ORDERS, PRICE_FILTER, LOT_SIZE, MAX_NUM_ICEBERG_ORDERS, MIN_NOTIONAL, PERCENT_PRICE] at [Source: (okhttp3.ResponseBody$BomAwareReader); line: 1, column: 985204] (through reference chain: com.binance.api.client.domain.general.ExchangeInfo["symbols"]->java.util.ArrayList[901]->com.binance.api.client.domain.general.SymbolInfo["filters"]->java.util.ArrayList[7]->com.binance.api.client.domain.general.SymbolFilter["filterType"])

@Serg-Maximchuk
Copy link

There is already a pull request on this issue #276

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

No branches or pull requests

2 participants