# Asana SDK v2: Disable Warnings

**URL:** <https://forum.asana.com/t/asana-sdk-v2-disable-warnings/671573>\
**Category:** API & Developers\
**Created:** [20 January 2024 13:18 UTC](https://forum.asana.com/t/asana-sdk-v2-disable-warnings/671573 "2024-01-20T13:18:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nicola\_Caroli](https://luna1.co/8d76cd.png) [@Nicola\_Caroli](https://forum.asana.com/u/Nicola_Caroli)\
**Post date:** [20 January 2024 13:18 UTC](https://forum.asana.com/t/asana-sdk-v2-disable-warnings/671573/1 "2024-01-20T13:18:30Z")

</div>

Hi All,

I am trying to disable Asana API warnings like this:  
UserWarning: This request is affected by the “new\_user\_task\_lists” deprecation. Please visit this url for more info: [Update on our planned API changes to user task lists (a.k.a. My Tasks)](https://forum.asana.com/t/update-on-our-planned-api-changes-to-user-task-lists-a-k-a-my-tasks/103828)  
Adding “new\_user\_task\_lists” to your “Asana-Enable” or “Asana-Disable” header will opt in/out to this deprecation and suppress this warning.  
warnings.warn(message)

I have found some instruction online using “ApiException” but all the instructions refer to sdk v5.

Does anyone know how to do it in v3?

Thank you in advance

---

<div class="post-metadata">

**Author:** ![Larry\_Berger\_lpb](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/larry_berger_lpb/32/276017_2.png) [@Larry\_Berger\_lpb](https://forum.asana.com/u/Larry_Berger_lpb)\
**Post date:** [20 January 2024 16:19 UTC](https://forum.asana.com/t/asana-sdk-v2-disable-warnings/671573/2 "2024-01-20T16:19:34Z")

</div>

Welcome, @Nicola_Caroli. I’ve moved your request to #Developers & API where it will have better visibility for an answer.

Thanks,

Larry

---

<div class="post-metadata">

**Author:** ![Nicola\_Caroli](https://luna1.co/8d76cd.png) [@Nicola\_Caroli](https://forum.asana.com/u/Nicola_Caroli)\
**Post date:** [20 January 2024 20:23 UTC](https://forum.asana.com/t/asana-sdk-v2-disable-warnings/671573/3 "2024-01-20T20:23:18Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![John\_Baldo](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/john_baldo/32/163575_2.png) [@John\_Baldo](https://forum.asana.com/u/John_Baldo)\
**Post date:** [24 January 2024 00:50 UTC](https://forum.asana.com/t/asana-sdk-v2-disable-warnings/671573/4 "2024-01-24T00:50:45Z")

</div>

Hi @Nicola_Caroli,

If I’m understanding your question correctly, I think the documentation for disabling warnings is here under " Asana Change Warnings":

> <https://github.com/Asana/python-asana/blob/v3.2.2/README.md#asana-change-warnings>

---

<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:** [31 January 2024 00:51 UTC](https://forum.asana.com/t/asana-sdk-v2-disable-warnings/671573/5 "2024-01-31T00:51:39Z")

</div>

Closed on 31 January 2024 00:51 UTC

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