return empty array when request is invalid