Getting the Historical data for last day

Hello all

I have a FREE account with Alpaca. Even if try to access data that is one day older I get the following error:

alpaca_trade_api.rest.APIError: your subscription does not permit querying data from the past 15 minutes

For example, I am trying to get data for the day 2022-04-05 (Year-Month-Day) on 2022-04-06(Year-Month-Day) and I get the same error.

According to the error, I am not allowed to access “data from the past 15 minutes”, but I am trying to access data that is at least 1 day old. Any idea why am I getting the error.

Thanks in advance.