Open Interest Futures Hist broken parameter

I think the futures_coin_open_interest_hist is broken, when supplying startTime and endTime I get an error that the timestamp is invalid.

from binance import Client, ThreadedWebsocketManager, ThreadedDepthCacheManager
client = Client(api_key, api_secret)

ts = client._get_earliest_valid_timestamp('BTCUSDT', '1d')
data = client.futures_coin_open_interest_hist(pair='BTCUSDT',
    contractType='ALL',
    period='1d', startTime=ts, endTime=1660485474)

Please take note that only the data of the latest 30 days is available. This is stated in the documentation (Binance API Documentation)