Do you use the token immediately after requesting it using the login script? That token will expire.
I just tried it again, and it worked. This is what I did:
- Go To https://iot.meross.com/v1/Auth/login.
- Copy login.js script into console window, replace USERNAME and PASSWORD and execute.
- Save "token" value returned by script.
- Copy paste my code (above) into the console window, replace TOKEN with value from previous API call.
- Got back a success message with list of UUIDS.