When no criteria is given to the datapoints lookup endpoint the system hangs and it should return an error message instead.