Field not returning when specified via opt_fields

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

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?

Just remove the .1
Use memberships.section.name

1 Like