thash / asana

Asana command line Client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`asana tasks` doesn't show any tasks

jfhbrook-at-work opened this issue Β· comments

I've been trying this out and I'm seeing a few weird behaviors. After working around #28 by looking up and setting the workspace gid in ~/.asana.yml I tried to list some tasks and I get nothing:

~ via 🐍 v3.8.8 (env) on ☁️  (us-west-2) took 3s
❯ asana tasks

I also tried grabbing an individual task with an ID I pulled from the UI and JSON unmarshalling is really unhappy:

~ via 🐍 v3.8.8 (env) on ☁️  (us-west-2)
❯ asana t {my task ID}
400 Bad Request
2021/12/16 14:57:40 fatal: json: cannot unmarshal array into Go value of type api.Task_t

I'm wondering if this is due to changes in Asana's API, similar to what I suspect is going on in #28 ?