# Tuya device: no data since 19/08

**URL:** <https://community.gladysassistant.com/t/device-tuya-plus-de-data-depuis-le-19-08/9061>\
**Category:** Configuration\
**Created:** [August 28, 2024, 12:53pm UTC](https://community.gladysassistant.com/t/device-tuya-plus-de-data-depuis-le-19-08/9061 "2024-08-28T12:53:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PhilippeMA](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/p/b3f665/32.png) [@PhilippeMA](https://community.gladysassistant.com/u/PhilippeMA)\
**Post date:** [August 28, 2024, 12:53pm UTC](https://community.gladysassistant.com/t/device-tuya-plus-de-data-depuis-le-19-08/9061/1 "2024-08-28T12:53:41Z")

</div>

Hello,

Since 19/08, I no longer receive data from my smart plug (Tuya integration) on Gladys.

However, on Tuya’s dev portal, I can see that the data is being sent to their cloud. It seems Gladys can no longer access the data.

In the logs, I don’t see anything except when I try to add a device, where I get the following error:

```auto
2024-08-28T14:52:12+0200 <error> tuya.discoverDevices.js:38 (TuyaHandler.discoverDevices) Unable to load Tuya devices TypeError: Cannot destructure property 'list' of 'result' as it is undefined.
    at TuyaHandler.loadDevices (/src/server/services/tuya/lib/tuya.loadDevices.js:25:11)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at TuyaHandler.discoverDevices (/src/server/services/tuya/lib/tuya.discoverDevices.js:35:15)
    at discover (/src/server/services/tuya/api/tuya.controller.js:10:21)

```

Do you see where the problem might be coming from?

Thanks for your help.

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [August 28, 2024, 5:20pm UTC](https://community.gladysassistant.com/t/device-tuya-plus-de-data-depuis-le-19-08/9061/2 "2024-08-28T17:20:19Z")

</div>

Hi @PhilippeMA,

You’re not the first to complain about the Tuya integration — since this summer I feel like Tuya has modified / cut the API, and since then nothing works.

I investigated with one user on the English forum and there’s nothing to be done: the API no longer works.

The full API error is:

```auto
{
  code: 60009001,
  msg: 'API permission package error. For the solution, see https://developer.tuya.com/en/docs/iot/authentication-method?id=Ka49gbaxjygox.',
  success: false,
  t: 1718643899114,
  tid: 'ba83bfdc2ccb11efa3a81e79da01f281'
}

```

I searched for quite a while this summer, without success 😕

Unfortunately that’s the problem with Cloud platforms — we’re at the mercy of their goodwill…

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [October 30, 2024, 5:45pm UTC](https://community.gladysassistant.com/t/device-tuya-plus-de-data-depuis-le-19-08/9061/3 "2024-10-30T17:45:30Z")

</div>

Apparently the integration still works, can you check these points:

> [@Configuration de l'intégration Tuya](https://community.gladysassistant.com/t/configuration-de-lintegration-tuya/9140/7?u=pierre-gilles):
>
> Désolé pour ma demande et d’avoir fait perdre du temps car finalement, l’intégration TUYA fonctionne très bien dans Gladys. Ce dysfonctionnement était lié à 2 problèmes. Je n’avais plus de droits aux ressources API acces à Cloud Develop Base Resource et IoT Core car la période Trial était dépassée. Pour la zone: j’avais renseigné Europe de l’ouest au lieu d’Europe Centrale J’ai trouvé mes lampes dans «&nbsp;Découverte Tuya&nbsp;»
