# Why I can’t send data to a device with Profile Token?

**URL:** <https://community.tago.io/t/why-i-can-t-send-data-to-a-device-with-profile-token/1875>\
**Category:** Devices and Connectors\
**Created:** [April 1, 2026, 11:10pm UTC](https://community.tago.io/t/why-i-can-t-send-data-to-a-device-with-profile-token/1875 "2026-04-01T23:10:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![julihermes.melo](https://yyz2.discourse-cdn.com/flex034/user_avatar/community.tago.io/julihermes.melo/32/1625_2.png) [@julihermes.melo](https://community.tago.io/u/julihermes.melo)\
**Post date:** [April 1, 2026, 11:10pm UTC](https://community.tago.io/t/why-i-can-t-send-data-to-a-device-with-profile-token/1875/1 "2026-04-01T23:10:57Z")

</div>

Why I can’t send data to a device with Profile Token?

---

<div class="post-metadata">

**Author:** ![julihermes.melo](https://yyz2.discourse-cdn.com/flex034/user_avatar/community.tago.io/julihermes.melo/32/1625_2.png) [@julihermes.melo](https://community.tago.io/u/julihermes.melo)\
**Post date:** [April 2, 2026, 12:15pm UTC](https://community.tago.io/t/why-i-can-t-send-data-to-a-device-with-profile-token/1875/2 "2026-04-02T12:15:00Z")

</div>

In fact, the endpoint “/device/:deviceID/data“ not working at all.

Is this a bug?

---

<div class="post-metadata">

**Author:** ![carolina.hidalgo](https://yyz2.discourse-cdn.com/flex034/user_avatar/community.tago.io/carolina.hidalgo/32/1602_2.png) [@carolina.hidalgo](https://community.tago.io/u/carolina.hidalgo)\
**Post date:** [April 6, 2026, 1:37pm UTC](https://community.tago.io/t/why-i-can-t-send-data-to-a-device-with-profile-token/1875/3 "2026-04-06T13:37:55Z")

</div>

Hey @julihermes.melo! We already reached out through your support ticket, but wanted to share the answer here too in case anyone else runs into this.

In this case, you’ll need to use an **Analysis Token**.

Here’s a quick example:

```auto
curl --location 'https://api.us-e1.tago.io/device/{deviceID}/data' \
--header 'token: YOUR_ANALYSIS_TOKEN' \
--header 'Content-Type: application/json' \
--data '[
  {
    "variable": "example",
    "value": "1"
  }
]'

```

Just make sure your Analysis has access to the device through the **Access Management** module.

Let us know if you have any questions! 🙌

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex034/user_avatar/community.tago.io/system/32/24_2.png) [@system](https://community.tago.io/u/system)\
**Post date:** [April 10, 2026, 12:55pm UTC](https://community.tago.io/t/why-i-can-t-send-data-to-a-device-with-profile-token/1875/4 "2026-04-10T12:55:49Z")

</div>

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