StartTime/endTime doesn't seem to work for /sapi/v1/asset/assetDividend

I used GET /sapi/v1/asset/assetDividend, and declared a StartTime and endTime, but they seem to get ignored. I was able to increase the limit and declare asset, but can’t limit the time scope.

Has anyone else had this issue? Or am I declaring the time wrong? I’m using Unix epoch in milliseconds.

I’m using the Python API:

import os
from binance import Client, ThreadedWebsocketManager, ThreadedDepthCacheManager

# Keys retrieve from ENV variables
client = Client(os.environ.get('BINANCE_API_KEY'), os.environ.get('BINANCE_SECRET_KEY'))
dividends = client.get_asset_dividend_history(startTime=1609426800000, endTime=1616909235000, limit=10)

This code just gives me the 10 latest transactions, even though the startTime is from the beginning of 2021, and endTime is 3 months after that.

Please provide a sample url with query parameters to help us reproduce the issues. Omit any sensitive data.

I added the code I used. I tried to find the exact URL, but I’m using the Python library and it is a bit difficult to get it. Hopefully what I posted is of use.

Nevermind, I picked up a bug in the endTime that was hard to see before. Thanks for trying to help!