I have checked the error logs & found that in this scenario the error happening due to an invalid date format. Below is the error description which I have received in the logs.
errorCode=invalid_parameters errorDescription=Date range format expected as yyyy-MM-dd'T'HH:mm:ss/yyyy-MM-dd'T'hh:MM:ss
Please make sure that you are using date in the correct format.