# API not working

**URL:** <https://forums.wyze.com/t/api-not-working/308248>\
**Category:** Services & Integrations\
**Tags:** home-monitoring\
**Created:** [August 23, 2024, 4:46pm UTC](https://forums.wyze.com/t/api-not-working/308248 "2024-08-23T16:46:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dunamis](https://avatars.discourse-cdn.com/v4/letter/d/bc79bd/32.png) [@Dunamis](https://forums.wyze.com/u/Dunamis)\
**Post date:** [August 23, 2024, 4:46pm UTC](https://forums.wyze.com/t/api-not-working/308248/1 "2024-08-23T16:46:56Z")

</div>

Just started this week a script I have been using for over 6 months stopped working with the following error

HTTPError: 400 Client Error: Bad Request for url: [https://auth-prod.api.wyze.com/api/user/login](https://auth-prod.api.wyze.com/api/user/login)

Wondering if something in the most recent app update changed something. Anyone else?

---

<div class="post-metadata">

**Author:** ![WildBill](https://sea2.discourse-cdn.com/wyze/user_avatar/forums.wyze.com/wildbill/32/41408_2.png) [@WildBill](https://forums.wyze.com/u/WildBill)\
**Post date:** [August 23, 2024, 4:52pm UTC](https://forums.wyze.com/t/api-not-working/308248/2 "2024-08-23T16:52:30Z")

</div>

Just tested one of my bulbs from HomeAssistant and it’s working fine. That should use the same API. Have you updated your security token? I think they’re only good for a year.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/wyze/user_avatar/forums.wyze.com/system/32/1_2.png) [@system](https://forums.wyze.com/u/system)\
**Post date:** [November 21, 2024, 4:53pm UTC](https://forums.wyze.com/t/api-not-working/308248/3 "2024-11-21T16:53:17Z")

</div>

Closed on November 21, 2024, 4:53pm UTC

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