Good day everyone, I am new to TagoIO, I’m on a free TagoIO account. I followed the tutorial on the official video https://youtu.be/mKU73B24Osg on this topic. I keep getting the error: [2025-10-16T07:45:55Z INFO info] Config file loaded successfully [2025-10-16T07:45:55Z INFO network] Verifying network token for relay: self-hosted [2025-10-16T07:45:56Z ERROR network] Failed to verify network token for relay self-hosted: Status: 400 Bad Request, Body: {“status”:false,“message”:“Authorization denied”}, Message: Request failed with status: 400 Bad Request [2025-10-16T07:45:56Z ERROR network] Failed to verify relay self-hosted: Status: 400 Bad Request, Body: {“status”:false,“message”:“Authorization denied”}, Message: Request failed with status: 400 Bad Request
I tested all the steps described in the README.md from the repository tago-io/mqtt-relay (v1.4.0), following exactly the same procedure shown in the video, using a Free account — everything worked as expected with the EMQX.
The error message you’re seeing indicates that the network token you used is incorrect. Please review the section in the video between minutes 3:21 and 4:52 to make sure you copied the token from the correct place.
Also, don’t forget to include the authorization_token.
You can follow this documentation to generate it: Authorization Token Documentation
Both values must be added to the file:
~/.config/.tagoio-mqtt-relay.toml
Let me know if you still face any issues after checking this.