Maximal ubidots.add

Hey,
I have a E-series Dev board and i am sending data to ubidots.
I add all my data with ubidots.add(“name”, value).

How many variable can I add before using ubidots.send() ?
I am currently having 12. But it only transmitts 10 of them.

Is there a limit?

Thanks

hi, there seems to be a limit.
I checked the Ubidots lib and they say this:

Important: The max payload lenght is 700 bytes, if your payload is greater it won’t be properly sent.
You can see on your serial console the payload to send if you call the setDebug(bool debug) method and pass a true value to it.

source is here.
Best,
Gustavo.
EDIT: so it is not only a matter of number of variables (in your case 10) but the size/content of them. Meaning in some cases you would be able to successfuly send 10 variables, but under some conditions you would be able to send LESS (or even more!). That’ll be hell to troubleshoot. BEware.

1 Like