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

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 ?

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?

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.

Glad you got it working!