# completed\_by field is missing when getting task data

**URL:** <https://forum.asana.com/t/completed-by-field-is-missing-when-getting-task-data/112634>\
**Category:** API & Developers\
**Created:** [3 March 2021 18:04 UTC](https://forum.asana.com/t/completed-by-field-is-missing-when-getting-task-data/112634 "2021-03-03T18:04:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Patrick\_McGrath](https://luna1.co/8d76cd.png) [@Patrick\_McGrath](https://forum.asana.com/u/Patrick_McGrath)\
**Post date:** [3 March 2021 18:04 UTC](https://forum.asana.com/t/completed-by-field-is-missing-when-getting-task-data/112634/1 "2021-03-03T18:04:03Z")

</div>

When getting a task, I do not see the completed\_by field. Here is the top part of the json I am receiving:

{  
“gid”: “1199877159975445”,  
“assignee”: {  
“gid”: “142141169480256”,  
“name”: “Regan Carriere”,  
“resource\_type”: “user”  
},  
“assignee\_status”: “inbox”,  
“completed”: true,  
“completed\_at”: “2021-02-23T18:21:00.247Z”,  
“created\_at”: “2021-02-02T20:04:18.585Z”,  
“custom\_fields”: ,

According to the documentation, I should see “completed\_by” right after “completed\_at”.

---

<div class="post-metadata">

**Author:** ![Phil\_Seeman](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/phil_seeman/32/81525_2.png) [@Phil\_Seeman](https://forum.asana.com/u/Phil_Seeman)\
**Post date:** [3 March 2021 18:11 UTC](https://forum.asana.com/t/completed-by-field-is-missing-when-getting-task-data/112634/2 "2021-03-03T18:11:09Z")

</div>

Hi @Patrick_McGrath and welcome to the forum!

That field is not listed in the docs as an [opt in](https://developers.asana.com/docs/input-output-options) field, but maybe it is anyway. Try including a parameter of `?opt_fields=completed_by` and see if you get it then. (If so, you’ll likely need to add other fields that you want as well.)

---

<div class="post-metadata">

**Author:** ![Patrick\_McGrath](https://luna1.co/8d76cd.png) [@Patrick\_McGrath](https://forum.asana.com/u/Patrick_McGrath)\
**Post date:** [3 March 2021 19:20 UTC](https://forum.asana.com/t/completed-by-field-is-missing-when-getting-task-data/112634/3 "2021-03-03T19:20:35Z")

</div>

Thanks, Phil! That seems to work. The documentation shows that it should return the name as well, but I just see the gid and resource type. Here’s what the documentation shows:

```auto
 "completed_by": {
      "gid": "12345",
      "resource_type": "user",
      "name": "Greg Sanchez"

but I am just seeing this:
  "data" : {
    "gid" : "1199877159975445",
    "completed_at" : "2021-02-23T18:21:00.247Z",
    "completed_by" : {
      "gid" : "142141169480256",
      "resource_type" : "user"
    },
    "name" : "01.25.2021 | The Farm at Hickory Hollow Venue Promo | Custom Video | Orlando"
  }

Do you think I can get the name without making another call?
```

---

<div class="post-metadata">

**Author:** ![Patrick\_McGrath](https://luna1.co/8d76cd.png) [@Patrick\_McGrath](https://forum.asana.com/u/Patrick_McGrath)\
**Post date:** [3 March 2021 19:27 UTC](https://forum.asana.com/t/completed-by-field-is-missing-when-getting-task-data/112634/4 "2021-03-03T19:27:19Z")

</div>

@Phil_Seeman, never mind, I figured it out.

?opt\_pretty&opt\_fields=name,completed\_at,completed\_by.name

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/system/32/276370_2.png) [@system](https://forum.asana.com/u/system)\
**Post date:** [30 May 2025 18:57 UTC](https://forum.asana.com/t/completed-by-field-is-missing-when-getting-task-data/112634/5 "2025-05-30T18:57:19Z")

</div>


