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

Unrecognized field "updateTime" #2

Closed
kernelogic opened this issue Dec 11, 2017 · 2 comments
Closed

Unrecognized field "updateTime" #2

kernelogic opened this issue Dec 11, 2017 · 2 comments

Comments

@kernelogic
Copy link

Exception in thread "main" com.binance.api.client.exception.BinanceApiException: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "updateTime" (class com.binance.api.client.domain.account.Account), not marked as ignorable (8 known properties: "canTrade", "takerCommission", "balances", "sellerCommission", "buyerCommission", "makerCommission", "canWithdraw", "canDeposit"])
at [Source: okhttp3.ResponseBody$BomAwareReader@7722c3c3; line: 1, column: 164] (through reference chain: com.binance.api.client.domain.account.Account["updateTime"])
at com.binance.api.client.impl.BinanceApiServiceGenerator.executeSync(BinanceApiServiceGenerator.java:60)
at com.binance.api.client.impl.BinanceApiRestClientImpl.getAccount(BinanceApiRestClientImpl.java:139)
at com.binance.api.client.impl.BinanceApiRestClientImpl.getAccount(BinanceApiRestClientImpl.java:144)

@bigcong
Copy link

bigcong commented Dec 12, 2017

需要在Account.java 加入updateTime属性,然后生成get和set方法

@joaopsilva
Copy link
Member

Hello,

There was a new property added to the Binance API, which was not reflected in the code; this is now fixed.

Please update your code to the latest version, and it should work fine.

Best regards,
João

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

3 participants