2021-08-10T18:31:29.360+0800 cmd/tasks.go:13 started ... 2021-08-10T18:31:29.360+0800 util/http.go:117 request url: https://app.asana.com/api/1.0/tasks 2021-08-10T18:31:30.541+0800 task/task.go:64 [�]new task ID: 2021-08-10T18:31:30.544+0800 cmd/tasks.go:36 succeeded, task gid: 2021-08-10T18:31:30.550+0800 cmd/tasks.go:39 completed ... 2021-08-10T18:40:09.261+0800 cmd/tasks.go:13 started ... 2021-08-10T18:40:09.261+0800 util/http.go:117 request url: https://app.asana.com/api/1.0/tasks 2021-08-10T18:40:10.619+0800 task/task.go:68 response status: 400 2021-08-10T18:40:10.620+0800 task/task.go:70 unexpected response git.drinkme.beer/yinghe/log.Errorf E:/liuda/go/pkg/mod/git.drinkme.beer/yinghe/log@v0.1.3/logging.go:22 asana/module/task.(*Request).Create G:/dev/go/git.drinkme.beer/yinghe/asana/module/task/task.go:70 main.main G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:35 runtime.main E:/go/src/runtime/proc.go:204 2021-08-10T18:40:10.623+0800 cmd/tasks.go:37 failed to create new task: unexpected response git.drinkme.beer/yinghe/log.Errorf E:/liuda/go/pkg/mod/git.drinkme.beer/yinghe/log@v0.1.3/logging.go:22 main.main G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:37 runtime.main E:/go/src/runtime/proc.go:204 2021-08-10T18:40:10.623+0800 cmd/tasks.go:42 completed ... 2021-08-10T18:41:29.865+0800 cmd/tasks.go:13 started ... 2021-08-10T18:41:29.866+0800 task/task.go:60 request: {"resource_subtype":"default_task","assignee":"1199521781039350","name":"Tue Aug 10 10:41:29 2021 Testing","completed":false,"due_on":"2021-08-17","linked":false,"notes":"Testing - Tue, 10 Aug 2021 10:41:29 UTC","start_on":"2021-08-10","custom_fields":{"1199521775380609":"1199521775380611","1200366443430274":"1200366443431311","1200750482997339":"20210810131701","1200753569394602":"1200753569396679"},"projects":["1200750482997336"],"workspace":"916657163525497"} 2021-08-10T18:41:29.867+0800 util/http.go:117 request url: https://app.asana.com/api/1.0/tasks 2021-08-10T18:41:31.580+0800 util/http.go:142 response: {"errors":[{"message":"You should specify one of workspace, parent, projects","help":"For more information on API status codes and how to handle them, read the docs on errors: https://asana.com/developers/documentation/getting-started/errors"}]} 2021-08-10T18:41:31.582+0800 task/task.go:70 response status: 400 2021-08-10T18:41:31.593+0800 task/task.go:72 unexpected response git.drinkme.beer/yinghe/log.Errorf E:/liuda/go/pkg/mod/git.drinkme.beer/yinghe/log@v0.1.3/logging.go:22 asana/module/task.(*Request).Create G:/dev/go/git.drinkme.beer/yinghe/asana/module/task/task.go:72 main.main G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:35 runtime.main E:/go/src/runtime/proc.go:204 2021-08-10T18:41:31.596+0800 cmd/tasks.go:37 failed to create new task: unexpected response git.drinkme.beer/yinghe/log.Errorf E:/liuda/go/pkg/mod/git.drinkme.beer/yinghe/log@v0.1.3/logging.go:22 main.main G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:37 runtime.main E:/go/src/runtime/proc.go:204 2021-08-10T18:41:31.598+0800 cmd/tasks.go:42 completed ... 2021-08-10T18:45:14.701+0800 cmd/tasks.go:13 started ... 2021-08-10T18:45:14.702+0800 task/task.go:70 request: {"data":{"resource_subtype":"default_task","assignee":"1199521781039350","name":"Tue Aug 10 10:45:14 2021 Testing","completed":false,"due_on":"2021-08-17","linked":false,"notes":"Testing - Tue, 10 Aug 2021 10:45:14 UTC","start_on":"2021-08-10","custom_fields":{"1199521775380609":"1199521775380611","1200366443430274":"1200366443431311","1200750482997339":"20210810131701","1200753569394602":"1200753569396679"},"projects":["1200750482997336"],"workspace":"916657163525497"}} 2021-08-10T18:45:14.704+0800 util/http.go:117 request url: https://app.asana.com/api/1.0/tasks 2021-08-10T18:45:22.727+0800 util/http.go:142 response: {"data":{"gid":"1200757350074250","projects":[{"gid":"1200750482997336","resource_type":"project","name":"Development Project for Tickets"}],"resource_type":"task","created_at":"2021-08-10T10:45:20.542Z","modified_at":"2021-08-10T10:45:20.542Z","name":"Tue Aug 10 10:45:14 2021 Testing","notes":"Testing - Tue, 10 Aug 2021 10:45:14 UTC","assignee":{"gid":"1199521781039350","resource_type":"user","name":"Frank Liu"},"completed":false,"assignee_status":"inbox","completed_at":null,"due_on":"2021-08-17","due_at":null,"resource_subtype":"default_task","start_on":"2021-08-10","start_at":null,"tags":[],"workspace":{"gid":"916657163525497","resource_type":"workspace","name":"yuansfer.com"},"num_hearts":0,"num_likes":0,"permalink_url":"https://app.asana.com/0/1200750482997336/1200757350074250","followers":[{"gid":"1199521781039350","resource_type":"user","name":"Frank Liu"}],"parent":null,"hearted":false,"hearts":[],"assignee_section":{"gid":"1200524821166545","resource_type":"section","name":"Recently assigned"},"liked":false,"likes":[],"memberships":[{"project":{"gid":"1200750482997336","resource_type":"project","name":"Development Project for Tickets"},"section":{"gid":"1200753569417613","resource_type":"section","name":"Backlog"}}],"custom_fields":[{"gid":"1200366443430274","resource_type":"custom_field","resource_subtype":"enum","type":"enum","name":"Ticket Type","enabled":true,"enum_value":{"gid":"1200366443431311","resource_type":"enum_option","enabled":true,"name":"Merchant Profile Updates","color":"green"},"display_value":"Merchant Profile Updates","enum_options":[{"gid":"1200366443431311","resource_type":"enum_option","enabled":true,"name":"Merchant Profile Updates","color":"green"},{"gid":"1200366443431316","resource_type":"enum_option","enabled":true,"name":"Transaction Errors","color":"red"},{"gid":"1200366443431388","resource_type":"enum_option","enabled":true,"name":"Product Requests","color":"orange"},{"gid":"1200366443431401","resource_type":"enum_option","enabled":true,"name":"Declined Merchant/Disabled Account","color":"yellow-orange"},{"gid":"1200366443432434","resource_type":"enum_option","enabled":true,"name":"Bug Fixes","color":"yellow"},{"gid":"1200366464813839","resource_type":"enum_option","enabled":true,"name":"Internal Development Project","color":"yellow-green"},{"gid":"1200680513739265","resource_type":"enum_option","enabled":true,"name":"Feedback","color":"blue-green"}],"created_by":{"gid":"1200057682745929","resource_type":"user","name":"Jeremy Jones"}},{"gid":"1199521775380609","resource_type":"custom_field","created_by":null,"resource_subtype":"enum","type":"enum","name":"Priority","enabled":true,"enum_value":{"gid":"1199521775380611","resource_type":"enum_option","enabled":true,"name":"Medium","color":"orange"},"display_value":"Medium","enum_options":[{"gid":"1199521775380610","resource_type":"enum_option","enabled":true,"name":"High","color":"red"},{"gid":"1199521775380611","resource_type":"enum_option","enabled":true,"name":"Medium","color":"orange"},{"gid":"1199521775380612","resource_type":"enum_option","enabled":true,"name":"Low","color":"green"}]},{"gid":"1200107390884071","resource_type":"custom_field","created_by":null,"resource_subtype":"enum","type":"enum","name":"Product stage","enabled":true,"enum_value":null,"display_value":null,"enum_options":[{"gid":"1200107390884072","resource_type":"enum_option","enabled":true,"name":"Spec needed","color":"none"},{"gid":"1200107390884073","resource_type":"enum_option","enabled":true,"name":"Design ready","color":"none"},{"gid":"1200107390884074","resource_type":"enum_option","enabled":true,"name":"Eng ready","color":"none"},{"gid":"1200107390884075","resource_type":"enum_option","enabled":true,"name":"QA ready","color":"none"},{"gid":"1200107390884076","resource_type":"enum_option","enabled":true,"name":"Marketing ready","color":"none"}]},{"gid":"1200128693528351","resource_type":"custom_field","resource_subtype":"enum","type":"enum","name":"Status","enabled":true,"enum_value":null,"display_value":null,"created_by":{"gid":"1199874732832801","resource_type":"user","name":"Shawn Zheng"},"enum_options":[{"gid":"1200128693528355","resource_type":"enum_option","enabled":true,"name":"Completed","color":"green"},{"gid":"1200128693529382","resource_type":"enum_option","enabled":true,"name":"In Progress","color":"red"},{"gid":"1200163946180464","resource_type":"enum_option","enabled":true,"name":"Not Started","color":"orange"}]},{"gid":"1200107390884078","resource_type":"custom_field","created_by":null,"resource_subtype":"number","type":"number","name":"Cost","enabled":true,"precision":0,"number_value":null,"display_value":null},{"gid":"1200750482997339","resource_type":"custom_field","created_by":{"gid":"1199521781039350","resource_type":"user","name":"Frank Liu"},"resource_subtype":"text","type":"text","name":"Ticket ID","enabled":true,"text_value":"20210810131701","display_value":"20210810131701"},{"gid":"1200753569394602","resource_type":"custom_field","created_by":{"gid":"1199521781039350","resource_type":"user","name":"Frank Liu"},"resource_subtype":"enum","type":"enum","name":"Month","enabled":true,"enum_value":{"gid":"1200753569396679","resource_type":"enum_option","enabled":true,"name":"August","color":"yellow-orange"},"display_value":"August","enum_options":[{"gid":"1200753569394609","resource_type":"enum_option","enabled":true,"name":"May","color":"green"},{"gid":"1200753569394617","resource_type":"enum_option","enabled":true,"name":"June","color":"red"},{"gid":"1200753569395650","resource_type":"enum_option","enabled":true,"name":"July","color":"orange"},{"gid":"1200753569396679","resource_type":"enum_option","enabled":true,"name":"August","color":"yellow-orange"}]}]}} 2021-08-10T18:45:22.732+0800 task/task.go:80 response status: 201 2021-08-10T18:45:22.745+0800 task/task.go:92 [�]new task ID: 2021-08-10T18:45:22.746+0800 cmd/tasks.go:39 succeeded, task gid: 2021-08-10T18:45:22.747+0800 cmd/tasks.go:42 completed ... 2021-08-11T05:44:42.850+0800 cmd/tasks.go:26 started ... 2021-08-11T05:44:42.851+0800 cmd/tasks.go:35 ticket No.: � 2021-08-11T05:44:42.851+0800 task/task.go:82 request: {"data":{"resource_subtype":"default_task","assignee":"1199521781039350","name":"#�-Tue Aug 10 21:44:42 2021-Merchant Profile Updates","completed":false,"due_on":"2021-08-18","linked":false,"notes":"Testing - Tue, 10 Aug 2021 21:44:42 UTC","start_on":"2021-08-11","custom_fields":{"1199521775380609":"1199521775380611","1200366443430274":"1200366443431311","1200750482997339":"�","1200753569394602":"1200753569396679"},"projects":["1200750482997336"],"workspace":"916657163525497"}} 2021-08-11T05:44:42.851+0800 util/http.go:117 request url: https://app.asana.com/api/1.0/tasks 2021-08-11T05:44:46.627+0800 util/http.go:142 response: {"data":{"gid":"1200762320061738","projects":[{"gid":"1200750482997336","resource_type":"project","name":"Development Project for Tickets"}],"resource_type":"task","created_at":"2021-08-10T21:44:45.977Z","modified_at":"2021-08-10T21:44:45.977Z","name":"#�-Tue Aug 10 21:44:42 2021-Merchant Profile Updates","notes":"Testing - Tue, 10 Aug 2021 21:44:42 UTC","assignee":{"gid":"1199521781039350","resource_type":"user","name":"Frank Liu"},"completed":false,"assignee_status":"inbox","completed_at":null,"due_on":"2021-08-18","due_at":null,"resource_subtype":"default_task","start_on":"2021-08-11","start_at":null,"tags":[],"workspace":{"gid":"916657163525497","resource_type":"workspace","name":"yuansfer.com"},"num_hearts":0,"num_likes":0,"permalink_url":"https://app.asana.com/0/1200750482997336/1200762320061738","followers":[{"gid":"1199521781039350","resource_type":"user","name":"Frank Liu"}],"parent":null,"hearted":false,"hearts":[],"assignee_section":{"gid":"1200524821166545","resource_type":"section","name":"Recently assigned"},"liked":false,"likes":[],"memberships":[{"project":{"gid":"1200750482997336","resource_type":"project","name":"Development Project for Tickets"},"section":{"gid":"1200753569417613","resource_type":"section","name":"Backlog"}}],"custom_fields":[{"gid":"1200366443430274","resource_type":"custom_field","resource_subtype":"enum","type":"enum","name":"Ticket Type","enabled":true,"enum_value":{"gid":"1200366443431311","resource_type":"enum_option","enabled":true,"name":"Merchant Profile Updates","color":"green"},"display_value":"Merchant Profile Updates","created_by":{"gid":"1200057682745929","resource_type":"user","name":"Jeremy Jones"},"enum_options":[{"gid":"1200366443431311","resource_type":"enum_option","enabled":true,"name":"Merchant Profile Updates","color":"green"},{"gid":"1200366443431316","resource_type":"enum_option","enabled":true,"name":"Transaction Errors","color":"red"},{"gid":"1200366443431388","resource_type":"enum_option","enabled":true,"name":"Product Requests","color":"orange"},{"gid":"1200366443431401","resource_type":"enum_option","enabled":true,"name":"Declined Merchant/Disabled Account","color":"yellow-orange"},{"gid":"1200366443432434","resource_type":"enum_option","enabled":true,"name":"Bug Fixes","color":"yellow"},{"gid":"1200366464813839","resource_type":"enum_option","enabled":true,"name":"Internal Development Project","color":"yellow-green"},{"gid":"1200680513739265","resource_type":"enum_option","enabled":true,"name":"Feedback","color":"blue-green"},{"gid":"1200760425076272","resource_type":"enum_option","enabled":true,"name":"Others","color":"cool-gray"}]},{"gid":"1199521775380609","resource_type":"custom_field","created_by":null,"resource_subtype":"enum","type":"enum","name":"Priority","enabled":true,"enum_value":{"gid":"1199521775380611","resource_type":"enum_option","enabled":true,"name":"Medium","color":"orange"},"display_value":"Medium","enum_options":[{"gid":"1199521775380610","resource_type":"enum_option","enabled":true,"name":"High","color":"red"},{"gid":"1199521775380611","resource_type":"enum_option","enabled":true,"name":"Medium","color":"orange"},{"gid":"1199521775380612","resource_type":"enum_option","enabled":true,"name":"Low","color":"green"}]},{"gid":"1200107390884071","resource_type":"custom_field","created_by":null,"resource_subtype":"enum","type":"enum","name":"Product stage","enabled":true,"enum_value":null,"display_value":null,"enum_options":[{"gid":"1200107390884072","resource_type":"enum_option","enabled":true,"name":"Spec needed","color":"none"},{"gid":"1200107390884073","resource_type":"enum_option","enabled":true,"name":"Design ready","color":"none"},{"gid":"1200107390884074","resource_type":"enum_option","enabled":true,"name":"Eng ready","color":"none"},{"gid":"1200107390884075","resource_type":"enum_option","enabled":true,"name":"QA ready","color":"none"},{"gid":"1200107390884076","resource_type":"enum_option","enabled":true,"name":"Marketing ready","color":"none"}]},{"gid":"1200128693528351","resource_type":"custom_field","resource_subtype":"enum","type":"enum","name":"Status","enabled":true,"enum_value":null,"display_value":null,"created_by":{"gid":"1199874732832801","resource_type":"user","name":"Shawn Zheng"},"enum_options":[{"gid":"1200128693528355","resource_type":"enum_option","enabled":true,"name":"Completed","color":"green"},{"gid":"1200128693529382","resource_type":"enum_option","enabled":true,"name":"In Progress","color":"red"},{"gid":"1200163946180464","resource_type":"enum_option","enabled":true,"name":"Not Started","color":"orange"}]},{"gid":"1200107390884078","resource_type":"custom_field","created_by":null,"resource_subtype":"number","type":"number","name":"Cost","enabled":true,"precision":0,"number_value":null,"display_value":null},{"gid":"1200750482997339","resource_type":"custom_field","created_by":{"gid":"1199521781039350","resource_type":"user","name":"Frank Liu"},"resource_subtype":"text","type":"text","name":"Ticket ID","enabled":true,"text_value":"�","display_value":"�"},{"gid":"1200753569394602","resource_type":"custom_field","created_by":{"gid":"1199521781039350","resource_type":"user","name":"Frank Liu"},"resource_subtype":"enum","type":"enum","name":"Month","enabled":true,"enum_value":{"gid":"1200753569396679","resource_type":"enum_option","enabled":true,"name":"August","color":"yellow-orange"},"display_value":"August","enum_options":[{"gid":"1200753569394609","resource_type":"enum_option","enabled":true,"name":"May","color":"green"},{"gid":"1200753569394617","resource_type":"enum_option","enabled":true,"name":"June","color":"red"},{"gid":"1200753569395650","resource_type":"enum_option","enabled":true,"name":"July","color":"orange"},{"gid":"1200753569396679","resource_type":"enum_option","enabled":true,"name":"August","color":"yellow-orange"}]}]}} 2021-08-11T05:44:46.656+0800 task/task.go:92 response status: 201 2021-08-11T05:44:46.708+0800 task/task.go:105 [�]new task ID:1200762320061738 2021-08-11T05:44:46.708+0800 cmd/tasks.go:58 succeeded, task gid: 1200762320061738 2021-08-11T05:44:46.714+0800 cmd/tasks.go:28 completed ... 2021-08-11T05:50:03.261+0800 cmd/tasks.go:27 started ... 2021-08-11T05:50:03.261+0800 cmd/tasks.go:38 ticket No.: 1628632203 2021-08-11T05:50:03.263+0800 task/task.go:82 request: {"data":{"resource_subtype":"default_task","assignee":"1199521781039350","name":"#1628632203-Tue Aug 10 21:50:03 2021-Merchant Profile Updates","completed":false,"due_on":"2021-08-18","linked":false,"notes":"Testing - Tue, 10 Aug 2021 21:50:03 UTC","start_on":"2021-08-11","custom_fields":{"1199521775380609":"1199521775380611","1200366443430274":"1200366443431311","1200750482997339":"1628632203","1200753569394602":"1200753569396679"},"projects":["1200750482997336"],"workspace":"916657163525497"}} 2021-08-11T05:50:03.266+0800 util/http.go:117 request url: https://app.asana.com/api/1.0/tasks 2021-08-11T05:50:06.961+0800 util/http.go:142 response: {"data":{"gid":"1200762462637997","projects":[{"gid":"1200750482997336","resource_type":"project","name":"Development Project for Tickets"}],"resource_type":"task","created_at":"2021-08-10T21:50:06.313Z","modified_at":"2021-08-10T21:50:06.313Z","name":"#1628632203-Tue Aug 10 21:50:03 2021-Merchant Profile Updates","notes":"Testing - Tue, 10 Aug 2021 21:50:03 UTC","assignee":{"gid":"1199521781039350","resource_type":"user","name":"Frank Liu"},"completed":false,"assignee_status":"inbox","completed_at":null,"due_on":"2021-08-18","due_at":null,"resource_subtype":"default_task","start_on":"2021-08-11","start_at":null,"tags":[],"workspace":{"gid":"916657163525497","resource_type":"workspace","name":"yuansfer.com"},"num_hearts":0,"num_likes":0,"permalink_url":"https://app.asana.com/0/1200750482997336/1200762462637997","followers":[{"gid":"1199521781039350","resource_type":"user","name":"Frank Liu"}],"parent":null,"hearted":false,"hearts":[],"assignee_section":{"gid":"1200524821166545","resource_type":"section","name":"Recently assigned"},"liked":false,"likes":[],"memberships":[{"project":{"gid":"1200750482997336","resource_type":"project","name":"Development Project for Tickets"},"section":{"gid":"1200753569417613","resource_type":"section","name":"Backlog"}}],"custom_fields":[{"gid":"1200366443430274","resource_type":"custom_field","resource_subtype":"enum","type":"enum","name":"Ticket Type","enabled":true,"enum_value":{"gid":"1200366443431311","resource_type":"enum_option","enabled":true,"name":"Merchant Profile Updates","color":"green"},"display_value":"Merchant Profile Updates","created_by":{"gid":"1200057682745929","resource_type":"user","name":"Jeremy Jones"},"enum_options":[{"gid":"1200366443431311","resource_type":"enum_option","enabled":true,"name":"Merchant Profile Updates","color":"green"},{"gid":"1200366443431316","resource_type":"enum_option","enabled":true,"name":"Transaction Errors","color":"red"},{"gid":"1200366443431388","resource_type":"enum_option","enabled":true,"name":"Product Requests","color":"orange"},{"gid":"1200366443431401","resource_type":"enum_option","enabled":true,"name":"Declined Merchant/Disabled Account","color":"yellow-orange"},{"gid":"1200366443432434","resource_type":"enum_option","enabled":true,"name":"Bug Fixes","color":"yellow"},{"gid":"1200366464813839","resource_type":"enum_option","enabled":true,"name":"Internal Development Project","color":"yellow-green"},{"gid":"1200680513739265","resource_type":"enum_option","enabled":true,"name":"Feedback","color":"blue-green"},{"gid":"1200760425076272","resource_type":"enum_option","enabled":true,"name":"Others","color":"cool-gray"}]},{"gid":"1199521775380609","resource_type":"custom_field","created_by":null,"resource_subtype":"enum","type":"enum","name":"Priority","enabled":true,"enum_value":{"gid":"1199521775380611","resource_type":"enum_option","enabled":true,"name":"Medium","color":"orange"},"display_value":"Medium","enum_options":[{"gid":"1199521775380610","resource_type":"enum_option","enabled":true,"name":"High","color":"red"},{"gid":"1199521775380611","resource_type":"enum_option","enabled":true,"name":"Medium","color":"orange"},{"gid":"1199521775380612","resource_type":"enum_option","enabled":true,"name":"Low","color":"green"}]},{"gid":"1200107390884071","resource_type":"custom_field","created_by":null,"resource_subtype":"enum","type":"enum","name":"Product stage","enabled":true,"enum_value":null,"display_value":null,"enum_options":[{"gid":"1200107390884072","resource_type":"enum_option","enabled":true,"name":"Spec needed","color":"none"},{"gid":"1200107390884073","resource_type":"enum_option","enabled":true,"name":"Design ready","color":"none"},{"gid":"1200107390884074","resource_type":"enum_option","enabled":true,"name":"Eng ready","color":"none"},{"gid":"1200107390884075","resource_type":"enum_option","enabled":true,"name":"QA ready","color":"none"},{"gid":"1200107390884076","resource_type":"enum_option","enabled":true,"name":"Marketing ready","color":"none"}]},{"gid":"1200128693528351","resource_type":"custom_field","resource_subtype":"enum","type":"enum","name":"Status","enabled":true,"enum_value":null,"display_value":null,"created_by":{"gid":"1199874732832801","resource_type":"user","name":"Shawn Zheng"},"enum_options":[{"gid":"1200128693528355","resource_type":"enum_option","enabled":true,"name":"Completed","color":"green"},{"gid":"1200128693529382","resource_type":"enum_option","enabled":true,"name":"In Progress","color":"red"},{"gid":"1200163946180464","resource_type":"enum_option","enabled":true,"name":"Not Started","color":"orange"}]},{"gid":"1200107390884078","resource_type":"custom_field","created_by":null,"resource_subtype":"number","type":"number","name":"Cost","enabled":true,"precision":0,"number_value":null,"display_value":null},{"gid":"1200750482997339","resource_type":"custom_field","created_by":{"gid":"1199521781039350","resource_type":"user","name":"Frank Liu"},"resource_subtype":"text","type":"text","name":"Ticket ID","enabled":true,"text_value":"1628632203","display_value":"1628632203"},{"gid":"1200753569394602","resource_type":"custom_field","created_by":{"gid":"1199521781039350","resource_type":"user","name":"Frank Liu"},"resource_subtype":"enum","type":"enum","name":"Month","enabled":true,"enum_value":{"gid":"1200753569396679","resource_type":"enum_option","enabled":true,"name":"August","color":"yellow-orange"},"display_value":"August","enum_options":[{"gid":"1200753569394609","resource_type":"enum_option","enabled":true,"name":"May","color":"green"},{"gid":"1200753569394617","resource_type":"enum_option","enabled":true,"name":"June","color":"red"},{"gid":"1200753569395650","resource_type":"enum_option","enabled":true,"name":"July","color":"orange"},{"gid":"1200753569396679","resource_type":"enum_option","enabled":true,"name":"August","color":"yellow-orange"}]}]}} 2021-08-11T05:50:06.962+0800 task/task.go:92 response status: 201 2021-08-11T05:50:06.972+0800 task/task.go:105 [1628632203]new task ID:1200762462637997 2021-08-11T05:50:06.976+0800 cmd/tasks.go:61 succeeded, task gid: 1200762462637997 2021-08-11T05:50:06.977+0800 cmd/tasks.go:31 completed ... 2021-08-11T05:50:33.051+0800 cmd/tasks.go:27 started ... 2021-08-11T05:50:33.054+0800 story/stories.go:102 request: {"data":{"text":"comment - Wed, 11 Aug 2021 05:50:33 CST","is_pinned":false}} 2021-08-11T05:50:33.058+0800 util/http.go:117 request url: https://app.asana.com/api/1.0/tasks/1200762462637997/stories 2021-08-11T05:50:34.905+0800 util/http.go:142 response: {"data":{"gid":"1200762439188269","resource_type":"story","created_at":"2021-08-10T21:50:36.058Z","target":{"gid":"1200762462637997","resource_type":"task","name":"#1628632203-Tue Aug 10 21:50:03 2021-Merchant Profile Updates","resource_subtype":"default_task"},"source":"api","is_pinned":false,"type":"comment","text":"comment - Wed, 11 Aug 2021 05:50:33 CST","is_edited":false,"resource_subtype":"comment_added","num_hearts":0,"num_likes":0,"created_by":{"gid":"1199521781039350","resource_type":"user","name":"Frank Liu"},"is_editable":true,"hearted":false,"hearts":[],"previews":[],"liked":false,"likes":[]}} 2021-08-11T05:50:34.906+0800 story/stories.go:112 response status: 201 2021-08-11T05:50:34.913+0800 story/stories.go:121 illegal comment result: json: cannot unmarshal bool into Go struct field Response.data.is_pinned of type string git.drinkme.beer/yinghe/log.Errorf E:/liuda/go/pkg/mod/git.drinkme.beer/yinghe/log@v0.1.3/logging.go:22 asana/module/story.Request.Create G:/dev/go/git.drinkme.beer/yinghe/asana/module/story/stories.go:121 main.createStory G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:72 main.main G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:29 runtime.main E:/go/src/runtime/proc.go:204 2021-08-11T05:50:34.917+0800 cmd/tasks.go:75 failed to create new comment: json: cannot unmarshal bool into Go struct field Response.data.is_pinned of type string git.drinkme.beer/yinghe/log.Errorf E:/liuda/go/pkg/mod/git.drinkme.beer/yinghe/log@v0.1.3/logging.go:22 main.createStory G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:75 main.main G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:29 runtime.main E:/go/src/runtime/proc.go:204 2021-08-11T05:50:34.918+0800 cmd/tasks.go:31 completed ... 2021-08-11T05:54:16.724+0800 cmd/tasks.go:27 started ... 2021-08-11T05:54:18.320+0800 attach/attachments.go:68 failed to detect content type: EOF git.drinkme.beer/yinghe/log.Errorf E:/liuda/go/pkg/mod/git.drinkme.beer/yinghe/log@v0.1.3/logging.go:22 asana/module/attach.Request.Create G:/dev/go/git.drinkme.beer/yinghe/asana/module/attach/attachments.go:68 main.uploadAttachment G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:93 main.main G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:30 runtime.main E:/go/src/runtime/proc.go:204 2021-08-11T05:54:18.321+0800 cmd/tasks.go:95 failed to upload attachment: EOF git.drinkme.beer/yinghe/log.Errorf E:/liuda/go/pkg/mod/git.drinkme.beer/yinghe/log@v0.1.3/logging.go:22 main.uploadAttachment G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:95 main.main G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:30 runtime.main E:/go/src/runtime/proc.go:204 2021-08-11T05:54:18.331+0800 cmd/tasks.go:31 completed ... 2021-08-11T06:00:10.100+0800 cmd/tasks.go:27 started ... 2021-08-11T06:00:13.225+0800 util/http.go:166 unexpected status: 400 git.drinkme.beer/yinghe/log.Errorf E:/liuda/go/pkg/mod/git.drinkme.beer/yinghe/log@v0.1.3/logging.go:22 asana/util.Request G:/dev/go/git.drinkme.beer/yinghe/asana/util/http.go:166 asana/module/attach.Request.Create G:/dev/go/git.drinkme.beer/yinghe/asana/module/attach/attachments.go:103 main.uploadAttachment G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:93 main.main G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:30 runtime.main E:/go/src/runtime/proc.go:204 2021-08-11T06:00:13.225+0800 cmd/tasks.go:95 failed to upload attachment: unexpected status git.drinkme.beer/yinghe/log.Errorf E:/liuda/go/pkg/mod/git.drinkme.beer/yinghe/log@v0.1.3/logging.go:22 main.uploadAttachment G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:95 main.main G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:30 runtime.main E:/go/src/runtime/proc.go:204 2021-08-11T06:00:13.230+0800 cmd/tasks.go:31 completed ... 2021-08-11T06:01:45.465+0800 cmd/tasks.go:27 started ... 2021-08-11T06:01:45.467+0800 util/http.go:156 &{POST https://app.asana.com/api/1.0/tasks/1200762462637997/attachments HTTP/1.1 1 1 map[Authorization:[Bearer 1/1199521781039350:1fc8fb9e093189ab00284f6f21e56431] Content-Type:[multipart/form-data; boundary=170f99fe80eb51cc2a28e0dee9833b0287225d0e2817bf0282e1c50c7d6b]] 0xc000006090 0 [] false app.asana.com map[] map[] map[] 0xc00000a0c8} 2021-08-11T06:01:47.139+0800 util/http.go:166 unexpected status: 400 git.drinkme.beer/yinghe/log.Errorf E:/liuda/go/pkg/mod/git.drinkme.beer/yinghe/log@v0.1.3/logging.go:22 asana/util.Request G:/dev/go/git.drinkme.beer/yinghe/asana/util/http.go:166 asana/module/attach.Request.Create G:/dev/go/git.drinkme.beer/yinghe/asana/module/attach/attachments.go:103 main.uploadAttachment G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:93 main.main G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:30 runtime.main E:/go/src/runtime/proc.go:204 2021-08-11T06:01:47.141+0800 cmd/tasks.go:95 failed to upload attachment: unexpected status git.drinkme.beer/yinghe/log.Errorf E:/liuda/go/pkg/mod/git.drinkme.beer/yinghe/log@v0.1.3/logging.go:22 main.uploadAttachment G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:95 main.main G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:30 runtime.main E:/go/src/runtime/proc.go:204 2021-08-11T06:01:47.148+0800 cmd/tasks.go:31 completed ... 2021-08-11T06:31:01.534+0800 cmd/tasks.go:27 started ... 2021-08-11T06:31:01.535+0800 util/http.go:156 &{POST https://app.asana.com/api/1.0/tasks/1200762462637997/attachments HTTP/1.1 1 1 map[Authorization:[Bearer 1/1199521781039350:1fc8fb9e093189ab00284f6f21e56431] Content-Type:[multipart/form-data; boundary=5bada70f791756c1db6957c15f9bc4222177d4d2199aec1d90a3bd328bf7]] 0xc000006090 0 [] false app.asana.com map[] map[] map[] 0xc00000a0c8} 2021-08-11T06:31:03.187+0800 util/http.go:166 unexpected status: 400 git.drinkme.beer/yinghe/log.Errorf E:/liuda/go/pkg/mod/git.drinkme.beer/yinghe/log@v0.1.3/logging.go:22 asana/util.Request G:/dev/go/git.drinkme.beer/yinghe/asana/util/http.go:166 asana/module/attach.Request.Create G:/dev/go/git.drinkme.beer/yinghe/asana/module/attach/attachments.go:108 main.uploadAttachment G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:93 main.main G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:30 runtime.main E:/go/src/runtime/proc.go:204 2021-08-11T06:31:03.188+0800 cmd/tasks.go:95 failed to upload attachment: unexpected status git.drinkme.beer/yinghe/log.Errorf E:/liuda/go/pkg/mod/git.drinkme.beer/yinghe/log@v0.1.3/logging.go:22 main.uploadAttachment G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:95 main.main G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:30 runtime.main E:/go/src/runtime/proc.go:204 2021-08-11T06:31:03.193+0800 cmd/tasks.go:31 completed ... 2021-08-11T06:44:42.230+0800 cmd/tasks.go:27 started ... 2021-08-11T06:44:42.231+0800 util/http.go:156 &{POST https://app.asana.com/api/1.0/tasks/1200762462637997/attachments HTTP/1.1 1 1 map[Authorization:[Bearer 1/1199521781039350:1fc8fb9e093189ab00284f6f21e56431] Content-Type:[multipart/form-data; boundary=b526940b1887f6ff2fcad6220ed7e982e43e00b84aa567433c2bbe9755ef]] 0xc000006090 0 [] false app.asana.com map[] map[] map[] 0xc00000a0c8} 2021-08-11T06:44:43.983+0800 util/http.go:166 unexpected status: 400 git.drinkme.beer/yinghe/log.Errorf E:/liuda/go/pkg/mod/git.drinkme.beer/yinghe/log@v0.1.3/logging.go:22 asana/util.Request G:/dev/go/git.drinkme.beer/yinghe/asana/util/http.go:166 asana/module/attach.Request.Create G:/dev/go/git.drinkme.beer/yinghe/asana/module/attach/attachments.go:109 main.uploadAttachment G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:93 main.main G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:30 runtime.main E:/go/src/runtime/proc.go:204 2021-08-11T06:44:43.985+0800 cmd/tasks.go:95 failed to upload attachment: unexpected status git.drinkme.beer/yinghe/log.Errorf E:/liuda/go/pkg/mod/git.drinkme.beer/yinghe/log@v0.1.3/logging.go:22 main.uploadAttachment G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:95 main.main G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:30 runtime.main E:/go/src/runtime/proc.go:204 2021-08-11T06:44:43.989+0800 cmd/tasks.go:31 completed ... 2021-08-11T06:54:16.012+0800 cmd/tasks.go:27 started ... 2021-08-11T06:54:16.014+0800 util/http.go:156 &{POST https://app.asana.com/api/1.0/tasks/1200762462637997/attachments HTTP/1.1 1 1 map[Authorization:[Bearer 1/1199521781039350:1fc8fb9e093189ab00284f6f21e56431] Content-Type:[multipart/form-data; boundary=45b8a6f7327632c862599ba5e8f05f28a699e1b5c3c1b7c629aaed8da832]] 0xc000006090 0 [] false app.asana.com map[] map[] map[] 0xc00000a0c8} 2021-08-11T06:54:17.104+0800 attach/attachments.go:93 content type: image/jpeg 2021-08-11T06:54:17.743+0800 util/http.go:169 response: {"errors":[{"message":"Could not interpret Content-Type as an identifier in Content-Type.","help":"For more information on API status codes and how to handle them, read the docs on errors: https://asana.com/developers/documentation/getting-started/errors"}]} 2021-08-11T06:54:17.745+0800 util/http.go:171 unexpected status: 400 git.drinkme.beer/yinghe/log.Errorf E:/liuda/go/pkg/mod/git.drinkme.beer/yinghe/log@v0.1.3/logging.go:22 asana/util.Request G:/dev/go/git.drinkme.beer/yinghe/asana/util/http.go:171 asana/module/attach.Request.Create G:/dev/go/git.drinkme.beer/yinghe/asana/module/attach/attachments.go:109 main.uploadAttachment G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:93 main.main G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:30 runtime.main E:/go/src/runtime/proc.go:204 2021-08-11T06:54:17.754+0800 cmd/tasks.go:95 failed to upload attachment: unexpected status git.drinkme.beer/yinghe/log.Errorf E:/liuda/go/pkg/mod/git.drinkme.beer/yinghe/log@v0.1.3/logging.go:22 main.uploadAttachment G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:95 main.main G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:30 runtime.main E:/go/src/runtime/proc.go:204 2021-08-11T06:54:17.754+0800 cmd/tasks.go:31 completed ... 2021-08-11T06:55:52.546+0800 cmd/tasks.go:27 started ... 2021-08-11T06:55:52.548+0800 util/http.go:156 &{POST https://app.asana.com/api/1.0/tasks/1200762462637997/attachments HTTP/1.1 1 1 map[Authorization:[Bearer 1/1199521781039350:1fc8fb9e093189ab00284f6f21e56431] Content-Type:[multipart/form-data; boundary=2d2cb063e3eb9a1117ff82cf148333ba2da5f2a101b36fd9c9c51d483259]] 0xc000006090 0 [] false app.asana.com map[] map[] map[] 0xc00000a0c8} 2021-08-11T06:55:53.694+0800 attach/attachments.go:93 content type: image/jpeg 2021-08-11T06:55:55.563+0800 util/http.go:181 response: {"data":{"gid":"1200762676545607","resource_type":"attachment","name":"WechatIMG8.jpeg","resource_subtype":"asana"}} 2021-08-11T06:55:55.564+0800 cmd/tasks.go:97 attachment id: 1200762676545607 2021-08-11T06:55:55.570+0800 cmd/tasks.go:31 completed ... 2021-08-11T07:00:46.448+0800 cmd/tasks.go:27 started ... 2021-08-11T07:00:46.451+0800 util/http.go:156 &{POST https://app.asana.com/api/1.0/tasks/1200762462637997/attachments HTTP/1.1 1 1 map[Authorization:[Bearer 1/1199521781039350:1fc8fb9e093189ab00284f6f21e56431] Content-Type:[multipart/form-data; boundary=27567d33c5b4e1614a4dc5c6305df405b27ba4e8642639f4d19fb1c3bd1a]] 0xc000006090 0 [] false app.asana.com map[] map[] map[] 0xc00000a0c8} 2021-08-11T07:00:49.749+0800 util/http.go:181 response: {"data":{"gid":"1200762737643119","resource_type":"attachment","name":"WechatIMG8.jpeg","resource_subtype":"asana"}} 2021-08-11T07:00:49.750+0800 cmd/tasks.go:97 attachment id: 1200762737643119 2021-08-11T07:00:49.757+0800 cmd/tasks.go:31 completed ... 2021-08-11T07:08:05.457+0800 cmd/tasks.go:27 started ... 2021-08-11T07:08:05.460+0800 attach/attachments.go:70 failed to detect content type: invalid argument git.drinkme.beer/yinghe/log.Errorf E:/liuda/go/pkg/mod/git.drinkme.beer/yinghe/log@v0.1.3/logging.go:22 asana/module/attach.Request.Create G:/dev/go/git.drinkme.beer/yinghe/asana/module/attach/attachments.go:70 main.uploadAttachment G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:93 main.main G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:30 runtime.main E:/go/src/runtime/proc.go:204 2021-08-11T07:08:05.464+0800 cmd/tasks.go:95 failed to upload attachment: invalid argument git.drinkme.beer/yinghe/log.Errorf E:/liuda/go/pkg/mod/git.drinkme.beer/yinghe/log@v0.1.3/logging.go:22 main.uploadAttachment G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:95 main.main G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:30 runtime.main E:/go/src/runtime/proc.go:204 2021-08-11T07:08:05.465+0800 cmd/tasks.go:31 completed ... 2021-08-11T07:09:34.589+0800 cmd/tasks.go:27 started ... 2021-08-11T07:09:35.674+0800 attach/attachments.go:70 failed to detect content type: EOF git.drinkme.beer/yinghe/log.Errorf E:/liuda/go/pkg/mod/git.drinkme.beer/yinghe/log@v0.1.3/logging.go:22 asana/module/attach.Request.Create G:/dev/go/git.drinkme.beer/yinghe/asana/module/attach/attachments.go:70 main.uploadAttachment G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:93 main.main G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:30 runtime.main E:/go/src/runtime/proc.go:204 2021-08-11T07:09:35.676+0800 cmd/tasks.go:95 failed to upload attachment: EOF git.drinkme.beer/yinghe/log.Errorf E:/liuda/go/pkg/mod/git.drinkme.beer/yinghe/log@v0.1.3/logging.go:22 main.uploadAttachment G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:95 main.main G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:30 runtime.main E:/go/src/runtime/proc.go:204 2021-08-11T07:09:35.688+0800 cmd/tasks.go:31 completed ... 2021-08-11T07:10:03.056+0800 cmd/tasks.go:27 started ... 2021-08-11T07:10:03.058+0800 util/http.go:156 &{POST https://app.asana.com/api/1.0/tasks/1200762462637997/attachments HTTP/1.1 1 1 map[Authorization:[Bearer 1/1199521781039350:1fc8fb9e093189ab00284f6f21e56431] Content-Type:[multipart/form-data; boundary=92993be3bf147bf6749d9c50cddfec28bc9f5e54cf1bdb98eb6fdc8cd60d]] 0xc000006090 0 [] false app.asana.com map[] map[] map[] 0xc00000a0c8} 2021-08-11T07:10:05.261+0800 util/http.go:181 response: {"data":{"gid":"1200762804306062","resource_type":"attachment","name":"beer","resource_subtype":"asana"}} 2021-08-11T07:10:05.261+0800 cmd/tasks.go:97 attachment id: 1200762804306062 2021-08-11T07:10:05.265+0800 cmd/tasks.go:31 completed ... 2021-08-11T07:13:17.583+0800 cmd/tasks.go:27 started ... 2021-08-11T07:13:17.584+0800 util/http.go:156 &{POST https://app.asana.com/api/1.0/tasks/1200762462637997/attachments HTTP/1.1 1 1 map[Authorization:[Bearer 1/1199521781039350:1fc8fb9e093189ab00284f6f21e56431] Content-Type:[multipart/form-data; boundary=8ca35bf11205c05ab86a9707672c5cdee67c90f425a55243371dcfbb7c02]] 0xc000006090 0 [] false app.asana.com map[] map[] map[] 0xc00000a0c8} 2021-08-11T07:13:20.638+0800 util/http.go:181 response: {"data":{"gid":"1200762709092387","resource_type":"attachment","name":"abeer.jpg","resource_subtype":"asana"}} 2021-08-11T07:13:20.640+0800 cmd/tasks.go:97 attachment id: 1200762709092387 2021-08-11T07:13:20.645+0800 cmd/tasks.go:31 completed ... 2021-08-11T07:15:27.754+0800 cmd/tasks.go:27 started ... 2021-08-11T07:15:27.757+0800 util/http.go:156 &{POST https://app.asana.com/api/1.0/tasks/1200762462637997/attachments HTTP/1.1 1 1 map[Authorization:[Bearer 1/1199521781039350:1fc8fb9e093189ab00284f6f21e56431] Content-Type:[multipart/form-data; boundary=a9bd48158af0807d4720841e28ed0764f35ef47d1e21ccf1557ebd638102]] 0xc000148080 0 [] false app.asana.com map[] map[] map[] 0xc000110180} 2021-08-11T07:15:30.979+0800 util/http.go:181 response: {"data":{"gid":"1200762756654257","resource_type":"attachment","name":"abeer.jpg","resource_subtype":"asana"}} 2021-08-11T07:15:30.980+0800 cmd/tasks.go:97 attachment id: 1200762756654257 2021-08-11T07:15:30.985+0800 cmd/tasks.go:31 completed ... 2021-08-11T07:16:01.885+0800 cmd/tasks.go:27 started ... 2021-08-11T07:16:01.887+0800 cmd/tasks.go:38 ticket No.: 1628637361 2021-08-11T07:16:01.887+0800 task/task.go:82 request: {"data":{"resource_subtype":"default_task","assignee":"1199521781039350","name":"#1628637361-Merchant Profile Updates-Tue Aug 10 23:16:01 2021","completed":false,"due_on":"2021-08-18","linked":false,"notes":"Testing - Tue, 10 Aug 2021 23:16:01 UTC","start_on":"2021-08-11","custom_fields":{"1199521775380609":"1199521775380611","1200366443430274":"1200366443431311","1200750482997339":"1628637361","1200753569394602":"1200753569396679"},"projects":["1200750482997336"],"workspace":"916657163525497"}} 2021-08-11T07:16:01.888+0800 util/http.go:117 request url: https://app.asana.com/api/1.0/tasks 2021-08-11T07:16:05.676+0800 util/http.go:142 response: {"data":{"gid":"1200762811929407","projects":[{"gid":"1200750482997336","resource_type":"project","name":"Development Project for Tickets"}],"resource_type":"task","created_at":"2021-08-10T23:16:04.993Z","modified_at":"2021-08-10T23:16:04.993Z","name":"#1628637361-Merchant Profile Updates-Tue Aug 10 23:16:01 2021","notes":"Testing - Tue, 10 Aug 2021 23:16:01 UTC","assignee":{"gid":"1199521781039350","resource_type":"user","name":"Frank Liu"},"completed":false,"assignee_status":"inbox","completed_at":null,"due_on":"2021-08-18","due_at":null,"resource_subtype":"default_task","start_on":"2021-08-11","start_at":null,"tags":[],"workspace":{"gid":"916657163525497","resource_type":"workspace","name":"yuansfer.com"},"num_hearts":0,"num_likes":0,"permalink_url":"https://app.asana.com/0/1200750482997336/1200762811929407","followers":[{"gid":"1199521781039350","resource_type":"user","name":"Frank Liu"}],"parent":null,"hearted":false,"hearts":[],"assignee_section":{"gid":"1200524821166545","resource_type":"section","name":"Recently assigned"},"liked":false,"likes":[],"memberships":[{"project":{"gid":"1200750482997336","resource_type":"project","name":"Development Project for Tickets"},"section":{"gid":"1200753569417613","resource_type":"section","name":"Backlog"}}],"custom_fields":[{"gid":"1200366443430274","resource_type":"custom_field","resource_subtype":"enum","type":"enum","name":"Ticket Type","enabled":true,"enum_value":{"gid":"1200366443431311","resource_type":"enum_option","enabled":true,"name":"Merchant Profile Updates","color":"green"},"display_value":"Merchant Profile Updates","created_by":{"gid":"1200057682745929","resource_type":"user","name":"Jeremy Jones"},"enum_options":[{"gid":"1200366443431311","resource_type":"enum_option","enabled":true,"name":"Merchant Profile Updates","color":"green"},{"gid":"1200366443431316","resource_type":"enum_option","enabled":true,"name":"Transaction Errors","color":"red"},{"gid":"1200366443431388","resource_type":"enum_option","enabled":true,"name":"Product Requests","color":"orange"},{"gid":"1200366443431401","resource_type":"enum_option","enabled":true,"name":"Declined Merchant/Disabled Account","color":"yellow-orange"},{"gid":"1200366443432434","resource_type":"enum_option","enabled":true,"name":"Bug Fixes","color":"yellow"},{"gid":"1200366464813839","resource_type":"enum_option","enabled":true,"name":"Internal Development Project","color":"yellow-green"},{"gid":"1200680513739265","resource_type":"enum_option","enabled":true,"name":"Feedback","color":"blue-green"},{"gid":"1200760425076272","resource_type":"enum_option","enabled":true,"name":"Others","color":"cool-gray"}]},{"gid":"1199521775380609","resource_type":"custom_field","created_by":null,"resource_subtype":"enum","type":"enum","name":"Priority","enabled":true,"enum_value":{"gid":"1199521775380611","resource_type":"enum_option","enabled":true,"name":"Medium","color":"orange"},"display_value":"Medium","enum_options":[{"gid":"1199521775380610","resource_type":"enum_option","enabled":true,"name":"High","color":"red"},{"gid":"1199521775380611","resource_type":"enum_option","enabled":true,"name":"Medium","color":"orange"},{"gid":"1199521775380612","resource_type":"enum_option","enabled":true,"name":"Low","color":"green"}]},{"gid":"1200107390884071","resource_type":"custom_field","created_by":null,"resource_subtype":"enum","type":"enum","name":"Product stage","enabled":true,"enum_value":null,"display_value":null,"enum_options":[{"gid":"1200107390884072","resource_type":"enum_option","enabled":true,"name":"Spec needed","color":"none"},{"gid":"1200107390884073","resource_type":"enum_option","enabled":true,"name":"Design ready","color":"none"},{"gid":"1200107390884074","resource_type":"enum_option","enabled":true,"name":"Eng ready","color":"none"},{"gid":"1200107390884075","resource_type":"enum_option","enabled":true,"name":"QA ready","color":"none"},{"gid":"1200107390884076","resource_type":"enum_option","enabled":true,"name":"Marketing ready","color":"none"}]},{"gid":"1200128693528351","resource_type":"custom_field","resource_subtype":"enum","type":"enum","name":"Status","enabled":true,"enum_value":null,"display_value":null,"created_by":{"gid":"1199874732832801","resource_type":"user","name":"Shawn Zheng"},"enum_options":[{"gid":"1200128693528355","resource_type":"enum_option","enabled":true,"name":"Completed","color":"green"},{"gid":"1200128693529382","resource_type":"enum_option","enabled":true,"name":"In Progress","color":"red"},{"gid":"1200163946180464","resource_type":"enum_option","enabled":true,"name":"Not Started","color":"orange"}]},{"gid":"1200107390884078","resource_type":"custom_field","created_by":null,"resource_subtype":"number","type":"number","name":"Cost","enabled":true,"precision":0,"number_value":null,"display_value":null},{"gid":"1200750482997339","resource_type":"custom_field","created_by":{"gid":"1199521781039350","resource_type":"user","name":"Frank Liu"},"resource_subtype":"text","type":"text","name":"Ticket ID","enabled":true,"text_value":"1628637361","display_value":"1628637361"},{"gid":"1200753569394602","resource_type":"custom_field","created_by":{"gid":"1199521781039350","resource_type":"user","name":"Frank Liu"},"resource_subtype":"enum","type":"enum","name":"Month","enabled":true,"enum_value":{"gid":"1200753569396679","resource_type":"enum_option","enabled":true,"name":"August","color":"yellow-orange"},"display_value":"August","enum_options":[{"gid":"1200753569394609","resource_type":"enum_option","enabled":true,"name":"May","color":"green"},{"gid":"1200753569394617","resource_type":"enum_option","enabled":true,"name":"June","color":"red"},{"gid":"1200753569395650","resource_type":"enum_option","enabled":true,"name":"July","color":"orange"},{"gid":"1200753569396679","resource_type":"enum_option","enabled":true,"name":"August","color":"yellow-orange"}]}]}} 2021-08-11T07:16:05.678+0800 task/task.go:92 response status: 201 2021-08-11T07:16:05.689+0800 task/task.go:105 [1628637361]new task ID:1200762811929407 2021-08-11T07:16:05.696+0800 cmd/tasks.go:61 succeeded, task gid: 1200762811929407 2021-08-11T07:16:05.696+0800 cmd/tasks.go:31 completed ... 2021-08-11T07:16:28.366+0800 cmd/tasks.go:27 started ... 2021-08-11T07:16:28.368+0800 story/stories.go:102 request: {"data":{"text":"comment - Wed, 11 Aug 2021 07:16:28 CST","is_pinned":false}} 2021-08-11T07:16:28.372+0800 util/http.go:117 request url: https://app.asana.com/api/1.0/tasks/1200762811929407/stories 2021-08-11T07:16:30.340+0800 util/http.go:142 response: {"data":{"gid":"1200762758090758","resource_type":"story","created_at":"2021-08-10T23:16:31.587Z","target":{"gid":"1200762811929407","resource_type":"task","name":"#1628637361-Merchant Profile Updates-Tue Aug 10 23:16:01 2021","resource_subtype":"default_task"},"source":"api","is_pinned":false,"type":"comment","text":"comment - Wed, 11 Aug 2021 07:16:28 CST","is_edited":false,"resource_subtype":"comment_added","num_hearts":0,"num_likes":0,"created_by":{"gid":"1199521781039350","resource_type":"user","name":"Frank Liu"},"is_editable":true,"hearted":false,"hearts":[],"previews":[],"liked":false,"likes":[]}} 2021-08-11T07:16:30.340+0800 story/stories.go:112 response status: 201 2021-08-11T07:16:30.347+0800 story/stories.go:125 [1200762811929407]new comment ID:1200762758090758 2021-08-11T07:16:30.349+0800 cmd/tasks.go:77 succeeded, comment gid: 1200762758090758 2021-08-11T07:16:30.350+0800 cmd/tasks.go:31 completed ... 2021-08-11T07:16:49.987+0800 cmd/tasks.go:27 started ... 2021-08-11T07:16:49.989+0800 util/http.go:156 &{POST https://app.asana.com/api/1.0/tasks/1200762811929407/attachments HTTP/1.1 1 1 map[Authorization:[Bearer 1/1199521781039350:1fc8fb9e093189ab00284f6f21e56431] Content-Type:[multipart/form-data; boundary=62e8543c9c05d612597b9aca0a65c03876a7c2d0a50d5528a06f75eeae11]] 0xc000006090 0 [] false app.asana.com map[] map[] map[] 0xc00000a0c8} 2021-08-11T07:16:52.222+0800 util/http.go:181 response: {"data":{"gid":"1200762809106604","resource_type":"attachment","name":"abeer.jpg","resource_subtype":"asana"}} 2021-08-11T07:16:52.223+0800 cmd/tasks.go:97 attachment id: 1200762809106604 2021-08-11T07:16:52.226+0800 cmd/tasks.go:31 completed ... 2021-08-11T07:40:17.804+0800 cmd/tasks.go:27 started ... 2021-08-11T07:40:17.805+0800 util/http.go:156 &{POST https://app.asana.com/api/1.0/tasks/1200762811929407/attachments HTTP/1.1 1 1 map[Authorization:[Bearer 1/1199521781039350:1fc8fb9e093189ab00284f6f21e56431] Content-Type:[multipart/form-data; boundary=f20c43a7863784b1a8c2a1c582b664a229c2a0314afe2dcd15ea248fee01]] 0xc000006090 0 [] false app.asana.com map[] map[] map[] 0xc00000a0c8} 2021-08-11T07:40:17.805+0800 attach/attachments.go:103 Content-Type: image/jpeg 2021-08-11T07:40:21.281+0800 util/http.go:181 response: {"data":{"gid":"1200762840050800","resource_type":"attachment","name":"abeer.jpg","resource_subtype":"asana"}} 2021-08-11T07:40:21.282+0800 cmd/tasks.go:97 attachment id: 1200762840050800 2021-08-11T07:40:21.292+0800 cmd/tasks.go:31 completed ... 2021-08-11T09:11:00.821+0800 cmd/tasks.go:27 started ... 2021-08-11T09:11:00.823+0800 cmd/tasks.go:38 ticket No.: 1628644260 2021-08-11T09:11:00.824+0800 task/task.go:82 request: {"data":{"resource_subtype":"default_task","assignee":"1199521781039350","name":"#1628644260-Merchant Profile Updates-Wed Aug 11 01:11:00 2021","completed":false,"due_on":"2021-08-18","linked":false,"notes":"Testing - Wed, 11 Aug 2021 01:11:00 UTC","start_on":"2021-08-11","custom_fields":{"1199521775380609":"1199521775380611","1200366443430274":"1200366443431311","1200750482997339":"1628644260","1200753569394602":"1200753569396679"},"projects":["1200750482997336"],"workspace":"916657163525497"}} 2021-08-11T09:11:00.825+0800 util/http.go:117 request url: https://app.asana.com/api/1.0/tasks 2021-08-11T09:11:04.875+0800 util/http.go:142 response: {"data":{"gid":"1200763212554435","projects":[{"gid":"1200750482997336","resource_type":"project","name":"Development Project for Tickets"}],"resource_type":"task","created_at":"2021-08-11T01:11:04.538Z","modified_at":"2021-08-11T01:11:04.538Z","name":"#1628644260-Merchant Profile Updates-Wed Aug 11 01:11:00 2021","notes":"Testing - Wed, 11 Aug 2021 01:11:00 UTC","assignee":{"gid":"1199521781039350","resource_type":"user","name":"Frank Liu"},"completed":false,"assignee_status":"inbox","completed_at":null,"due_on":"2021-08-18","due_at":null,"resource_subtype":"default_task","start_on":"2021-08-11","start_at":null,"tags":[],"workspace":{"gid":"916657163525497","resource_type":"workspace","name":"yuansfer.com"},"num_hearts":0,"num_likes":0,"permalink_url":"https://app.asana.com/0/1200750482997336/1200763212554435","followers":[{"gid":"1199521781039350","resource_type":"user","name":"Frank Liu"}],"parent":null,"hearted":false,"hearts":[],"assignee_section":{"gid":"1200524821166545","resource_type":"section","name":"Recently assigned"},"liked":false,"likes":[],"memberships":[{"project":{"gid":"1200750482997336","resource_type":"project","name":"Development Project for Tickets"},"section":{"gid":"1200753569417613","resource_type":"section","name":"Backlog"}}],"custom_fields":[{"gid":"1200366443430274","resource_type":"custom_field","resource_subtype":"enum","type":"enum","name":"Ticket Type","enabled":true,"enum_value":{"gid":"1200366443431311","resource_type":"enum_option","enabled":true,"name":"Merchant Profile Updates","color":"green"},"display_value":"Merchant Profile Updates","created_by":{"gid":"1200057682745929","resource_type":"user","name":"Jeremy Jones"},"enum_options":[{"gid":"1200366443431311","resource_type":"enum_option","enabled":true,"name":"Merchant Profile Updates","color":"green"},{"gid":"1200366443431316","resource_type":"enum_option","enabled":true,"name":"Transaction Errors","color":"red"},{"gid":"1200366443431388","resource_type":"enum_option","enabled":true,"name":"Product Requests","color":"orange"},{"gid":"1200366443431401","resource_type":"enum_option","enabled":true,"name":"Declined Merchant/Disabled Account","color":"yellow-orange"},{"gid":"1200366443432434","resource_type":"enum_option","enabled":true,"name":"Bug Fixes","color":"yellow"},{"gid":"1200366464813839","resource_type":"enum_option","enabled":true,"name":"Internal Development Project","color":"yellow-green"},{"gid":"1200680513739265","resource_type":"enum_option","enabled":true,"name":"Feedback","color":"blue-green"},{"gid":"1200760425076272","resource_type":"enum_option","enabled":true,"name":"Others","color":"cool-gray"}]},{"gid":"1199521775380609","resource_type":"custom_field","created_by":null,"resource_subtype":"enum","type":"enum","name":"Priority","enabled":true,"enum_value":{"gid":"1199521775380611","resource_type":"enum_option","enabled":true,"name":"Medium","color":"orange"},"display_value":"Medium","enum_options":[{"gid":"1199521775380610","resource_type":"enum_option","enabled":true,"name":"High","color":"red"},{"gid":"1199521775380611","resource_type":"enum_option","enabled":true,"name":"Medium","color":"orange"},{"gid":"1199521775380612","resource_type":"enum_option","enabled":true,"name":"Low","color":"green"}]},{"gid":"1200107390884071","resource_type":"custom_field","created_by":null,"resource_subtype":"enum","type":"enum","name":"Product stage","enabled":true,"enum_value":null,"display_value":null,"enum_options":[{"gid":"1200107390884072","resource_type":"enum_option","enabled":true,"name":"Spec needed","color":"none"},{"gid":"1200107390884073","resource_type":"enum_option","enabled":true,"name":"Design ready","color":"none"},{"gid":"1200107390884074","resource_type":"enum_option","enabled":true,"name":"Eng ready","color":"none"},{"gid":"1200107390884075","resource_type":"enum_option","enabled":true,"name":"QA ready","color":"none"},{"gid":"1200107390884076","resource_type":"enum_option","enabled":true,"name":"Marketing ready","color":"none"}]},{"gid":"1200128693528351","resource_type":"custom_field","resource_subtype":"enum","type":"enum","name":"Status","enabled":true,"enum_value":null,"display_value":null,"created_by":{"gid":"1199874732832801","resource_type":"user","name":"Shawn Zheng"},"enum_options":[{"gid":"1200128693528355","resource_type":"enum_option","enabled":true,"name":"Completed","color":"green"},{"gid":"1200128693529382","resource_type":"enum_option","enabled":true,"name":"In Progress","color":"red"},{"gid":"1200163946180464","resource_type":"enum_option","enabled":true,"name":"Not Started","color":"orange"}]},{"gid":"1200107390884078","resource_type":"custom_field","created_by":null,"resource_subtype":"number","type":"number","name":"Cost","enabled":true,"precision":0,"number_value":null,"display_value":null},{"gid":"1200750482997339","resource_type":"custom_field","created_by":{"gid":"1199521781039350","resource_type":"user","name":"Frank Liu"},"resource_subtype":"text","type":"text","name":"Ticket ID","enabled":true,"text_value":"1628644260","display_value":"1628644260"},{"gid":"1200753569394602","resource_type":"custom_field","created_by":{"gid":"1199521781039350","resource_type":"user","name":"Frank Liu"},"resource_subtype":"enum","type":"enum","name":"Month","enabled":true,"enum_value":{"gid":"1200753569396679","resource_type":"enum_option","enabled":true,"name":"August","color":"yellow-orange"},"display_value":"August","enum_options":[{"gid":"1200753569394609","resource_type":"enum_option","enabled":true,"name":"May","color":"green"},{"gid":"1200753569394617","resource_type":"enum_option","enabled":true,"name":"June","color":"red"},{"gid":"1200753569395650","resource_type":"enum_option","enabled":true,"name":"July","color":"orange"},{"gid":"1200753569396679","resource_type":"enum_option","enabled":true,"name":"August","color":"yellow-orange"}]}]}} 2021-08-11T09:11:04.880+0800 task/task.go:92 response status: 201 2021-08-11T09:11:04.893+0800 task/task.go:105 [1628644260]new task ID:1200763212554435 2021-08-11T09:11:04.899+0800 cmd/tasks.go:61 succeeded, task gid: 1200763212554435 2021-08-11T09:11:04.899+0800 cmd/tasks.go:31 completed ... 2021-08-11T09:11:27.885+0800 cmd/tasks.go:27 started ... 2021-08-11T09:11:27.887+0800 story/stories.go:102 request: {"data":{"text":"comment - Wed, 11 Aug 2021 09:11:27 CST","is_pinned":false}} 2021-08-11T09:11:27.887+0800 util/http.go:117 request url: https://app.asana.com/api/1.0/tasks/1200763212554435/stories 2021-08-11T09:11:30.277+0800 util/http.go:142 response: {"data":{"gid":"1200763160493094","resource_type":"story","created_at":"2021-08-11T01:11:31.591Z","target":{"gid":"1200763212554435","resource_type":"task","name":"#1628644260-Merchant Profile Updates-Wed Aug 11 01:11:00 2021","resource_subtype":"default_task"},"source":"api","is_pinned":false,"type":"comment","text":"comment - Wed, 11 Aug 2021 09:11:27 CST","is_edited":false,"resource_subtype":"comment_added","num_hearts":0,"num_likes":0,"created_by":{"gid":"1199521781039350","resource_type":"user","name":"Frank Liu"},"is_editable":true,"hearted":false,"hearts":[],"previews":[],"liked":false,"likes":[]}} 2021-08-11T09:11:30.277+0800 story/stories.go:112 response status: 201 2021-08-11T09:11:30.280+0800 story/stories.go:125 [1200763212554435]new comment ID:1200763160493094 2021-08-11T09:11:30.285+0800 cmd/tasks.go:77 succeeded, comment gid: 1200763160493094 2021-08-11T09:11:30.287+0800 cmd/tasks.go:31 completed ... 2021-08-11T09:11:46.516+0800 cmd/tasks.go:27 started ... 2021-08-11T09:11:47.464+0800 attach/attachments.go:81 failed to detect content type: EOF git.drinkme.beer/yinghe/log.Errorf E:/liuda/go/pkg/mod/git.drinkme.beer/yinghe/log@v0.1.3/logging.go:22 asana/module/attach.Request.Create G:/dev/go/git.drinkme.beer/yinghe/asana/module/attach/attachments.go:81 main.uploadAttachment G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:93 main.main G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:30 runtime.main E:/go/src/runtime/proc.go:204 2021-08-11T09:11:47.466+0800 cmd/tasks.go:95 failed to upload attachment: EOF git.drinkme.beer/yinghe/log.Errorf E:/liuda/go/pkg/mod/git.drinkme.beer/yinghe/log@v0.1.3/logging.go:22 main.uploadAttachment G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:95 main.main G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:30 runtime.main E:/go/src/runtime/proc.go:204 2021-08-11T09:11:47.471+0800 cmd/tasks.go:31 completed ... 2021-08-11T09:15:36.254+0800 cmd/tasks.go:27 started ... 2021-08-11T09:15:36.466+0800 attach/attachments.go:81 failed to detect content type: EOF git.drinkme.beer/yinghe/log.Errorf E:/liuda/go/pkg/mod/git.drinkme.beer/yinghe/log@v0.1.3/logging.go:22 asana/module/attach.Request.Create G:/dev/go/git.drinkme.beer/yinghe/asana/module/attach/attachments.go:81 main.uploadAttachment G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:93 main.main G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:30 runtime.main E:/go/src/runtime/proc.go:204 2021-08-11T09:15:36.468+0800 cmd/tasks.go:95 failed to upload attachment: EOF git.drinkme.beer/yinghe/log.Errorf E:/liuda/go/pkg/mod/git.drinkme.beer/yinghe/log@v0.1.3/logging.go:22 main.uploadAttachment G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:95 main.main G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:30 runtime.main E:/go/src/runtime/proc.go:204 2021-08-11T09:15:36.483+0800 cmd/tasks.go:31 completed ... 2021-08-11T09:33:05.245+0800 cmd/tasks.go:27 started ... 2021-08-11T09:33:05.448+0800 attach/attachments.go:148 EOF git.drinkme.beer/yinghe/log.Errorf E:/liuda/go/pkg/mod/git.drinkme.beer/yinghe/log@v0.1.3/logging.go:22 asana/module/attach.fDetectContentType G:/dev/go/git.drinkme.beer/yinghe/asana/module/attach/attachments.go:148 asana/module/attach.Request.Create G:/dev/go/git.drinkme.beer/yinghe/asana/module/attach/attachments.go:78 main.uploadAttachment G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:93 main.main G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:30 runtime.main E:/go/src/runtime/proc.go:204 2021-08-11T09:33:05.449+0800 attach/attachments.go:81 failed to detect content type: EOF git.drinkme.beer/yinghe/log.Errorf E:/liuda/go/pkg/mod/git.drinkme.beer/yinghe/log@v0.1.3/logging.go:22 asana/module/attach.Request.Create G:/dev/go/git.drinkme.beer/yinghe/asana/module/attach/attachments.go:81 main.uploadAttachment G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:93 main.main G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:30 runtime.main E:/go/src/runtime/proc.go:204 2021-08-11T09:33:05.469+0800 cmd/tasks.go:95 failed to upload attachment: EOF git.drinkme.beer/yinghe/log.Errorf E:/liuda/go/pkg/mod/git.drinkme.beer/yinghe/log@v0.1.3/logging.go:22 main.uploadAttachment G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:95 main.main G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:30 runtime.main E:/go/src/runtime/proc.go:204 2021-08-11T09:33:05.476+0800 cmd/tasks.go:31 completed ... 2021-08-11T09:39:55.802+0800 cmd/tasks.go:27 started ... 2021-08-11T09:39:55.995+0800 attach/attachments.go:103 Content-Type: image/jpeg 2021-08-11T09:39:55.995+0800 util/http.go:156 &{POST https://app.asana.com/api/1.0/tasks/1200763212554435/attachments HTTP/1.1 1 1 map[Authorization:[Bearer 1/1199521781039350:1fc8fb9e093189ab00284f6f21e56431] Content-Type:[multipart/form-data; boundary=142ea28323748ac414bed095d6d6e396e50366eae5b7c5d9c3a1f4f80273]] 0xc0001fc008 0 [] false app.asana.com map[] map[] map[] 0xc00000a0c8} 2021-08-11T09:39:58.696+0800 util/http.go:181 response: {"data":{"gid":"1200763283314288","resource_type":"attachment","name":"abeer.jpg","resource_subtype":"asana"}} 2021-08-11T09:39:58.697+0800 cmd/tasks.go:97 attachment id: 1200763283314288 2021-08-11T09:39:58.702+0800 cmd/tasks.go:31 completed ... 2021-08-11T09:43:43.690+0800 cmd/tasks.go:27 started ... 2021-08-11T09:43:43.882+0800 attach/attachments.go:103 Content-Type: image/jpeg 2021-08-11T09:43:43.882+0800 util/http.go:156 &{POST https://app.asana.com/api/1.0/tasks/1200763212554435/attachments HTTP/1.1 1 1 map[Authorization:[Bearer 1/1199521781039350:1fc8fb9e093189ab00284f6f21e56431] Content-Type:[multipart/form-data; boundary=692c5a003cde1aa48c6f8e592f98bd76420442218dd6cdf9ef47488c8809]] 0xc000188048 0 [] false app.asana.com map[] map[] map[] 0xc00000a0c8} 2021-08-11T09:43:46.111+0800 util/http.go:181 response: {"data":{"gid":"1200763287249606","resource_type":"attachment","name":"abeer.jpg","resource_subtype":"asana"}} 2021-08-11T09:43:46.111+0800 cmd/tasks.go:97 attachment id: 1200763287249606 2021-08-11T09:43:46.113+0800 cmd/tasks.go:31 completed ... 2021-08-11T09:45:14.948+0800 cmd/tasks.go:27 started ... 2021-08-11T09:45:15.141+0800 util/http.go:156 &{POST https://app.asana.com/api/1.0/tasks/1200763212554435/attachments HTTP/1.1 1 1 map[Authorization:[Bearer 1/1199521781039350:1fc8fb9e093189ab00284f6f21e56431] Content-Type:[multipart/form-data; boundary=68c6c5664497c22e88e1d969404f63b2301cd6eef98430caa149963b8eef]] 0xc0000060c0 0 [] false app.asana.com map[] map[] map[] 0xc00000a0c8} 2021-08-11T09:45:15.141+0800 attach/attachments.go:104 Content-Type: image/jpeg 2021-08-11T09:45:17.172+0800 util/http.go:181 response: {"data":{"gid":"1200763403488204","resource_type":"attachment","name":"abeer.jpg","resource_subtype":"asana"}} 2021-08-11T09:45:17.175+0800 attach/attachments.go:70 failed to remove temporary file: remove ./static/abeer.jpg: The process cannot access the file because it is being used by another process. git.drinkme.beer/yinghe/log.Errorf E:/liuda/go/pkg/mod/git.drinkme.beer/yinghe/log@v0.1.3/logging.go:22 asana/module/attach.Request.Create.func1 G:/dev/go/git.drinkme.beer/yinghe/asana/module/attach/attachments.go:70 asana/module/attach.Request.Create G:/dev/go/git.drinkme.beer/yinghe/asana/module/attach/attachments.go:136 main.uploadAttachment G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:93 main.main G:/dev/go/git.drinkme.beer/yinghe/asana/cmd/tasks.go:30 runtime.main E:/go/src/runtime/proc.go:204 2021-08-11T09:45:17.180+0800 cmd/tasks.go:97 attachment id: 1200763403488204 2021-08-11T09:45:17.181+0800 cmd/tasks.go:31 completed ... 2021-08-11T09:50:09.559+0800 cmd/tasks.go:27 started ... 2021-08-11T09:50:09.758+0800 attach/attachments.go:109 Content-Type: image/jpeg 2021-08-11T09:50:09.758+0800 util/http.go:156 &{POST https://app.asana.com/api/1.0/tasks/1200763212554435/attachments HTTP/1.1 1 1 map[Authorization:[Bearer 1/1199521781039350:1fc8fb9e093189ab00284f6f21e56431] Content-Type:[multipart/form-data; boundary=aa836485ac9ac8f90ebdce027598e26b893b62f258fa9d5ffdd168c0caa7]] 0xc000096008 0 [] false app.asana.com map[] map[] map[] 0xc00000a0c8} 2021-08-11T09:50:12.199+0800 util/http.go:181 response: {"data":{"gid":"1200763409179552","resource_type":"attachment","name":"abeer.jpg","resource_subtype":"asana"}} 2021-08-11T09:50:12.200+0800 attach/attachments.go:73 exiting temporary file succeeded! 2021-08-11T09:50:12.208+0800 attach/attachments.go:79 removing temporary file succeeded! 2021-08-11T09:50:12.209+0800 cmd/tasks.go:97 attachment id: 1200763409179552 2021-08-11T09:50:12.210+0800 cmd/tasks.go:31 completed ...