Data.history not working for different time intervals

Given any time interval other than '1m', data.history is not working. I tried it in different strategies, but getting same error for all of them. I tried taking '3m', '5m', '1h', '60m', '1d'.  

Please see the documentation of the data.history method. At present it supports only '1m' or '1d' for frequency.