Google Apps Script - get tasks from a project

Unfortunately, there is no way to filter for completed tasks in the Asana API. Sorry that the error message wasn’t very helpful. We hope to add more filtering in the future. Here is a post that goes into more detail about this aspect of the API: