You are giving it a list of points rather than a single point. You need to use a loop with the inputs and access each list item individually.
Edit: While searching the forum, I found another one of your posts asking a very similar question: 'List[Object]' has no attribute 'Id'