# Get multiple project from a team, doesn't work "archived" parameter.

**URL:** <https://forum.asana.com/t/get-multiple-project-from-a-team-doesnt-work-archived-parameter/969089>\
**Category:** API & Developers\
**Created:** [6 November 2024 10:41 UTC](https://forum.asana.com/t/get-multiple-project-from-a-team-doesnt-work-archived-parameter/969089 "2024-11-06T10:41:19Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Miyako](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/miyako/32/92109_2.png) [@Miyako](https://forum.asana.com/u/Miyako)\
**Post date:** [6 November 2024 10:41 UTC](https://forum.asana.com/t/get-multiple-project-from-a-team-doesnt-work-archived-parameter/969089/1 "2024-11-06T10:41:19Z")

</div>

> **[Get multiple projects](https://developers.asana.com/reference/getprojects)**
>
> Returns the compact project records for some filtered set of projects. Use one or more of the parameters provided to filter the projects returned. Note: This endpoint may timeout for large domains. Try filtering by team!

I followed the above procedure to test on "try it " ,and execute my own program too.

Even if I set the archived parameter to “archived=false”, it still retrieves archived PJs and I am having trouble with the amount of data is too large.

---

<div class="post-metadata">

**Author:** ![Fario\_Consulting](https://luna1.co/8d76cd.png) [@Fario\_Consulting](https://forum.asana.com/u/Fario_Consulting)\
**Post date:** [6 November 2024 16:29 UTC](https://forum.asana.com/t/get-multiple-project-from-a-team-doesnt-work-archived-parameter/969089/2 "2024-11-06T16:29:16Z")

</div>

Hi,  
I would suggest that you consider querying projects based on a specific team instead of all projects (it would help reduce the scope of your request).  
Also you could look into using Asana’s [typeahead](https://developers.asana.com/reference/typeaheadforworkspace) feature to retrieve projects

---

<div class="post-metadata">

**Author:** ![John\_Vu](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/john_vu/32/97235_2.png) [@John\_Vu](https://forum.asana.com/u/John_Vu)\
**Post date:** [6 November 2024 19:17 UTC](https://forum.asana.com/t/get-multiple-project-from-a-team-doesnt-work-archived-parameter/969089/3 "2024-11-06T19:17:06Z")

</div>

Hi @Miyako and @Fario_Consulting,

We have identified this to be a bug and are currently working on a fix for this. See this form comment for more information: [It is not possible to get only non-archived projects via API using node-sdk-v1 - #7 by John\_Vu](https://forum.asana.com/t/it-is-not-possible-to-get-only-non-archived-projects-via-api-using-node-sdk-v1/966411/7)

The workaround would be to do client side filter of archived and non-archived projects.

---

<div class="post-metadata">

**Author:** ![Miyako](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/miyako/32/92109_2.png) [@Miyako](https://forum.asana.com/u/Miyako)\
**Post date:** [7 November 2024 00:31 UTC](https://forum.asana.com/t/get-multiple-project-from-a-team-doesnt-work-archived-parameter/969089/4 "2024-11-07T00:31:41Z")

</div>

Hi, @Fario_Consulting and @John_Vu .  
Thank you for your reply.

I’ｍ already tried to querying projects based on a specific team. I apologize for the lack of information I described.  
I also understood that this to be a bug and, to be working on a fix for this.

Thank you.

---

<div class="post-metadata">

**Author:** ![John\_Vu](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/john_vu/32/97235_2.png) [@John\_Vu](https://forum.asana.com/u/John_Vu)\
**Post date:** [7 November 2024 17:28 UTC](https://forum.asana.com/t/get-multiple-project-from-a-team-doesnt-work-archived-parameter/969089/5 "2024-11-07T17:28:51Z")

</div>

Hi @Miyako,

The fix for this issue has been deployed. The `archived` query param should work as expected.

---

<div class="post-metadata">

**Author:** ![Miyako](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/miyako/32/92109_2.png) [@Miyako](https://forum.asana.com/u/Miyako)\
**Post date:** [8 November 2024 00:39 UTC](https://forum.asana.com/t/get-multiple-project-from-a-team-doesnt-work-archived-parameter/969089/6 "2024-11-08T00:39:26Z")

</div>

@John_Vu

Hi,  
I have confirmed that the problem has been resolved.  
Thank you for your prompt response.

---

<div class="post-metadata">

**Author:** ![John\_Vu](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/john_vu/32/97235_2.png) [@John\_Vu](https://forum.asana.com/u/John_Vu)\
**Post date:** [9 November 2024 00:06 UTC](https://forum.asana.com/t/get-multiple-project-from-a-team-doesnt-work-archived-parameter/969089/7 "2024-11-09T00:06:05Z")

</div>

Awesome, glad to hear it. Thank you for confirming @Miyako : )

---

<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:** [16 November 2024 00:06 UTC](https://forum.asana.com/t/get-multiple-project-from-a-team-doesnt-work-archived-parameter/969089/8 "2024-11-16T00:06:08Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
