# Create subtask is creating blank object

**URL:** <https://forum.asana.com/t/create-subtask-is-creating-blank-object/108477>\
**Category:** API & Developers\
**Tags:** subtasks\
**Created:** [31 January 2021 21:49 UTC](https://forum.asana.com/t/create-subtask-is-creating-blank-object/108477 "2021-01-31T21:49:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![asher.brooks](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/asher.brooks/32/39792_2.png) [@asher.brooks](https://forum.asana.com/u/asher.brooks)\
**Post date:** [31 January 2021 21:49 UTC](https://forum.asana.com/t/create-subtask-is-creating-blank-object/108477/1 "2021-01-31T21:49:13Z")

</div>

I am calling /tasks//subtasks with the following data

```
{"data": {
"approval_status":"pending",
"assignee":"<AssigneeID>",
"completed":false,
"completed_by":null,
"custom_fields":null,
"due_at":null,
"due_on":null,
"external":null,
"followers":null,
"html_notes":null,
"liked":false,
"name":"Examine original report",
"notes":"",
"parent":"<parentID>",
"projects":null,
"resource_subtype":"default_task",
"start_on":null,
"tags":null,
"workspace":"<workspaceID>"
}

```

It is successfully creating a subtask but it is empty of any of the data I am passing  
 ![image](https://us1.discourse-cdn.com/asana/original/3X/b/e/bea4c61194a81811670044b6e0c3cab49fdad55b.png)

---

<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:** [31 January 2021 22:21 UTC](https://forum.asana.com/t/create-subtask-is-creating-blank-object/108477/2 "2021-01-31T22:21:26Z")

</div>

Hi @asher.brooks,

A few potential issues I can see:

1. The account you’re attempting to write to - is it at the Business or Enterprise level? `approval_status` is only available at those levels, otherwise the task creation won’t be successful.
2. Don’t specify `parent`. You’re providing the parent’s gid in the URL string itself (that’s been left out in your example but I assume that happened here in the forum when you tried to paste something in there).
3. `completed_by` is not writeable; leave that out.
4. In fact, just omit any field that’s `null`; there’s no value in sending those.

---

<div class="post-metadata">

**Author:** ![asher.brooks](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/asher.brooks/32/39792_2.png) [@asher.brooks](https://forum.asana.com/u/asher.brooks)\
**Post date:** [31 January 2021 23:08 UTC](https://forum.asana.com/t/create-subtask-is-creating-blank-object/108477/3 "2021-01-31T23:08:25Z")

</div>

Thanks for replay Phil,

So with a simplified test I get the same result  
 ![image](https://us1.discourse-cdn.com/asana/original/3X/f/4/f44cfb12f7b8c3c9cb3222447c5dd227583a6fa3.png)

![image](https://us1.discourse-cdn.com/asana/original/3X/4/f/4fd3f4aa3903c09210fac059efe232116919e90c.png)

The account definetly has the right permissions becuase the post is successful.

---

<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:** [1 February 2021 03:06 UTC](https://forum.asana.com/t/create-subtask-is-creating-blank-object/108477/4 "2021-02-01T03:06:32Z")

</div>

Hmm, I don’t know why it’s not working properly.

Have you tried creating a top-level task (not a subtask) and does it do the same thing?

Have you tried creating it in Postman (or equivalent tool) - if not, I would recommend doing that, to see if it’s somehow a function of your specific client environment (though I can’t imagine what that would be that would create the task but not populate the name).

---

<div class="post-metadata">

**Author:** ![Brian\_Lynch](https://luna1.co/8d76cd.png) [@Brian\_Lynch](https://forum.asana.com/u/Brian_Lynch)\
**Post date:** [21 April 2022 16:32 UTC](https://forum.asana.com/t/create-subtask-is-creating-blank-object/108477/5 "2022-04-21T16:32:08Z")

</div>

Has a solution been found for this? My Fetch will only create blank tasks too

---

<div class="post-metadata">

**Author:** ![Bastien\_Siebman](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/bastien_siebman/32/172354_2.png) [@Bastien\_Siebman](https://forum.asana.com/u/Bastien_Siebman)\
**Post date:** [24 April 2022 10:20 UTC](https://forum.asana.com/t/create-subtask-is-creating-blank-object/108477/6 "2022-04-24T10:20:38Z")

</div>

@Brian_Lynch can you share the request you are making? I never had an issue with this 😕

---

<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 19:04 UTC](https://forum.asana.com/t/create-subtask-is-creating-blank-object/108477/7 "2025-05-30T19:04:20Z")

</div>

Closed on 30 May 2025 19:04 UTC


