implementing secure authentication on edge impulse
Hey guys, @IoT Cloud so lately I have been working with Edge Impulse , but I'm having trouble implementing secure authentication with the Edge Impulse SDK in Python. I'm using a Raspberry Pi 4 as the hardware and MQTT as the communication protocol, but l've tried various configurations and I'm still getting authentication errors. Can someone please share their expertise on how to resolve this issue and ensure secure communication with the Edge Impulse platform?
Solution:Jump to solution
Check your credentials, authentication method, MQTT topic, and payload format. Ensure everything matches the expected format. If issues persist, reach out to Edge Impulse's support.
2 Replies
Maybe this is an obvious thing and I don’t see it but there aren’t any specifics to what error you are facing and when you are facing said error. In this format it’s impossible for anyone to help.
Generate API credentials in the Edge Impulse dashboard
Double-check credentials and device ID.
Also try to install all required libraries before proceeding
Whenever I try to authenticate I get this error message
EdgeImpulseException: Authentication failed (401 Unauthorized) - Invalid credentials or authentication method
I've tried various configurations to resolve this issue, i double checked my credentials also endured i used the correct MQTT topic and payload format
Solution
Check your credentials, authentication method, MQTT topic, and payload format. Ensure everything matches the expected format. If issues persist, reach out to Edge Impulse's support.