# Ubidots and the Particle Photon

**URL:** <https://community.particle.io/t/ubidots-and-the-particle-photon/17933>\
**Category:** Troubleshooting\
**Created:** [December 1, 2015, 10:23pm UTC](https://community.particle.io/t/ubidots-and-the-particle-photon/17933 "2015-12-01T22:23:24Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![bko](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/bko/32/20704_2.png) [@bko](https://community.particle.io/u/bko)\
**Post date:** [December 1, 2015, 10:40pm UTC](https://community.particle.io/t/ubidots-and-the-particle-photon/17933/5 "2015-12-01T22:40:56Z")

</div>

Hi Guys,

The Photon should be able to send data to Ubidots without a problem. Looking at their example, I see something funny that could be a problem on this line:

```cpp
    request.path = "/api/v1.6/variables/"VARIABLE_ID"/values";

```

Since the VARIABLE\_ID that `#define`'ed above already has quotes, this looks wrong to me. Can you try something more like this:

```cpp
    request.path = "/api/v1.6/variables/7lIgBfvGWdCh56j1bcunhfnYrMPLJh1/values";

```

Where the variable ID from the sample above is replaced by your actual variable ID.

---

_[View the full topic](https://community.particle.io/t/ubidots-and-the-particle-photon/17933)._
