# Field not returning when specified via opt\_fields

**URL:** <https://forum.asana.com/t/field-not-returning-when-specified-via-opt-fields/118213>\
**Category:** API & Developers\
**Tags:** tasks\
**Created:** [19 April 2021 23:44 UTC](https://forum.asana.com/t/field-not-returning-when-specified-via-opt-fields/118213 "2021-04-19T23:44:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scott\_Harrington](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/scott_harrington/32/75664_2.png) [@Scott\_Harrington](https://forum.asana.com/u/Scott_Harrington)\
**Post date:** [19 April 2021 23:44 UTC](https://forum.asana.com/t/field-not-returning-when-specified-via-opt-fields/118213/1 "2021-04-19T23:44:20Z")

</div>

I’m having issues with the following API call:

[https://app.asana.com/api/1.0/projects/1160606429082521/tasks?opt\_pretty&opt\_expand=(this|subtasks%2B)&opt\_fields=name,memberships.1.section.name](https://app.asana.com/api/1.0/projects/1160606429082521/tasks?opt_pretty&opt_expand=(this%7Csubtasks%2B)&opt_fields=name,memberships.1.section.name)

It returns name but doesn’t return the field declared as “memberships.1.section.name”.

When I remove all opt\_fields, that field does get returned as:

“data » memberships » 1 » section » name”

Any idea why this field isn’t returned when I declare it as the opt\_field memberships.1.section.name?

---

<div class="post-metadata">

**Author:** ![Frederic\_Malenfant](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/frederic_malenfant/32/8358_2.png) [@Frederic\_Malenfant](https://forum.asana.com/u/Frederic_Malenfant)\
**Post date:** [20 April 2021 00:55 UTC](https://forum.asana.com/t/field-not-returning-when-specified-via-opt-fields/118213/2 "2021-04-20T00:55:35Z")

</div>

Just remove the .1  
Use memberships.section.name

---

<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/field-not-returning-when-specified-via-opt-fields/118213/3 "2025-05-30T18:57:14Z")

</div>

Closed on 30 May 2025 18:57 UTC


