CayenneLPP Payload Size Issue

I have a Heltec ESP32 LoRa board with OLED version 2.
It has been working well but I wanted to start using the CayenneLPP library to encode the payload.
It is working but I am having a problem.

Using OTAA, the board joins fine and sends the first payload (4 sensor values), these are delivered and decoded with no problems. Subsequent payloads appear in the Device Data tab, but there is never any payload.
I have noticed that when I reduce the payload to only 2 sensor values, every payload is delivered and decoded properly. Anything over 2 values has the same problem of succeeding the first time, but failing for future readings.

When I turn on the debugging serial readout on the device, it shows a “DIO1: RX timeout” error for unsuccessful packets. Is this something that can be addressed within the code or might it be a gateway or problem with the server?

Can you print a screenshot of the serial port? We need more information to facilitate the location and search of the problem.

Here is the readout from the serial port:

14:07:12.226 -> ESP32 MCU init…
14:07:12.226 -> ESP32 MCU inited OK!
14:07:13.162 ->
14:07:13.162 -> LoRaWAN US915 Class A start!
14:07:13.162 ->
14:07:13.570 -> joining…
14:07:13.616 -> TX on freq 904600000 Hz at DR 4
14:07:13.616 -> DIO0:TX Done
14:07:18.624 -> RX on freq 923900000 Hz at DR 13
14:07:18.624 -> DIO1:RX Timeout
14:07:19.654 -> RX on freq 923300000 Hz at DR 8
14:07:19.700 -> DIO1:RX Timeout
14:07:20.636 -> TX on freq 902700000 Hz at DR 0
14:07:21.058 -> DIO0:TX Done
14:07:26.044 -> RX on freq 924500000 Hz at DR 10
14:07:26.138 -> DIO0:RX Done
14:07:26.138 -> joined
14:07:27.589 -> TX on freq 902500000 Hz at DR 0
14:07:27.963 -> DIO0:TX Done
14:07:28.946 -> RX on freq 923900000 Hz at DR 10
14:07:29.086 -> DIO0:RX Done
14:07:29.086 -> receive data: rssi = -106, snr = 4, datarate = 10
14:07:31.099 -> Deep Sleep until Next TxPacket:12059 ms
14:07:44.553 -> confirmed uplink sending …
14:07:44.553 -> TX on freq 903700000 Hz at DR 0
14:07:45.021 -> DIO0:TX Done
14:07:46.051 -> RX on freq 927500000 Hz at DR 10
14:07:46.097 -> DIO0:RX Done
14:07:46.097 -> receive data: rssi = -110, snr = -1, datarate = 10
14:07:48.158 -> Deep Sleep until Next TxPacket:10642 ms
14:08:00.200 -> TX on freq 903100000 Hz at DR 0
14:08:00.575 -> DIO0:TX Done
14:08:01.559 -> RX on freq 925700000 Hz at DR 10
14:08:01.559 -> DIO1:RX Timeout
14:08:02.541 -> RX on freq 923300000 Hz at DR 8
14:08:02.635 -> DIO1:RX Timeout
14:08:03.197 -> Deep Sleep until Next TxPacket:11007 ms
14:08:15.646 -> TX on freq 902900000 Hz at DR 0
14:08:15.974 -> DIO0:TX Done
14:08:16.957 -> RX on freq 925100000 Hz at DR 10
14:08:17.004 -> DIO1:RX Timeout
14:08:17.986 -> RX on freq 923300000 Hz at DR 8
14:08:18.033 -> DIO1:RX Timeout
14:08:18.642 -> Deep Sleep until Next TxPacket:12579 ms

What is your byte count? Too much may cause incorrect transmission.

The byte count is only 12 so I don’t think that is the problem.
When program the unit using the LMIC-node library I can send very large Cayenne payloads with no problem.

I wonder if it has something to do with the Heltec_ESP32 library.