# ThingSpeak Integration: not all fields are being updated

**URL:** <https://www.thethingsnetwork.org/forum/t/thingspeak-integration-not-all-fields-are-being-updated/33105>\
**Category:** Uncategorized\
**Created:** [January 3, 2020, 12:45pm UTC](https://www.thethingsnetwork.org/forum/t/thingspeak-integration-not-all-fields-are-being-updated/33105 "2020-01-03T12:45:31Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![arjanvanb](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/arjanvanb/32/46626_2.png) [@arjanvanb](https://www.thethingsnetwork.org/forum/u/arjanvanb)\
**Post date:** [January 8, 2020, 12:20pm UTC](https://www.thethingsnetwork.org/forum/t/thingspeak-integration-not-all-fields-are-being-updated/33105/6 "2020-01-08T12:20:32Z")

</div>

> [@alvarottn](#):
>
> However, if I change the variable assigned to each field in ttn, for example assigning variables in fields1,2,3 to fields6,7,8 and viceversa, now the problem is within fields 6,7,8 and I can see f1,2,3 in thingspeak, so the problem could be related to the variables themselves?

You would still have the same order in which the data comes in from the sensor, so when handling `step == 6` you’ve already sent 5 readings to ThingSpeak in just 24 seconds, and the reading for `step == 6` is the 6th value in 30 seconds.

Does ThingSpeak document anything on rate-limiting?

If there’s a limit, then I’d assume that even the “empty” fields like for `step == 2` and so on, might count against such rate limit. _Maybe_ using `return null` rather than returning an empty object will make those empty items not being forwarded to ThingSpeak, but I really don’t know. That would then read something like:

```javascript
  if (step == 2) {
    return null;
  }

```

You might also be able to shield the device or disable the gateway(s) for the first readings (like shield it for 15 seconds after you see the data for `step == 1` coming in, to make a few transmissions not being received).

Also, increasing the SF might make the device use a longer interval between each step. But that’s for testing only; you should not use a high SF if not needed (and you should never use a fixed value of SF11 or SF12); see [Fair Use Policy explained](https://www.thethingsnetwork.org/forum/t/limitations-data-rate-packet-size-30-seconds-uplink-and-10-messages-downlink-per-day-fair-access-policy-guidelines/1300).

---

_[View the full topic](https://www.thethingsnetwork.org/forum/t/thingspeak-integration-not-all-fields-are-being-updated/33105)._
