DynamoDb : Accessing data By using findAllById(ids) is giving a exception


We are using Java to connect to DynamoDb and get the data.

List<String> ids = new ArrayList<>();
    for(Device dv : uniques){


List<DynamoTableData> uList =  userTableRepository.findAllById(ids);

But when we are getting issue while accessing the data.

could not invoke public void model.dynamodb.DynamoDBTable.setId(java.lang.String) on class model.dynamodb.DynamoDBTable with value [1,2, 4, 3, 3, of type class java.util.ArrayList"

What might be the possible issue?