Cayenne-MQTT-ESP8266 compilation errors

Hi,
I am trying to compile the following code,

for my ESP12E and keep getting lots of compile errors which include

\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h: In instantiation of ‘static void CayenneArduinoMQTTClient::publishData(CayenneTopic, unsigned int, const T&, const char*, const char*) [with T = const __FlashStringHelper*; CayenneTopic = CayenneTopic]’:

Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h:333:3: error: call of overloaded ‘add(const char*&, const __FlashStringHelper* const&)’ is ambiguous

values.add(subkey, data);

etc.

Any suggestions as to what can be done?

Thanks.

Hello,
I would reinstall the library and check how much parameters try to send to the Dashboard.

uninstall the main cayenne library so you just have the MQTT one if it still won’t compile.

@uaak80 Did you try any solution? Is the error still persist ?