[Solved] Not allowed to publish to losant//state

#1

Hi, I´m new with Losant, just tying my very first device. I am getting the following error while publishing from my device:
Not allowed to publish to losant//state
and I get the device disconnected.

What is that I am missing ?

0 Likes

#2

Are you seeing the error in the application communication log? What device are you trying to connect? Can you share the code you’re using?

0 Likes

#3

Thanks Brandon, I manage to fix this. I am using an ESP8266 Dev board, and in my code the LOSANT_DEVICE_ID constant was not set correct. Now is working.

0 Likes

#4

Glad you got it working!

0 Likes