Most customers are taking the uid parameter value and will use the uid returned by the token. This value is actually of no practical significance to the user and needs to be ignored. The real value should be obtained by obtaining the user list under the application and then checking the corresponding User's uid. See the documentation chapter for details: “Get the user list”https://developer.tuya.com/en/docs/iot/open-api/api-reference/smart-home-family-management/user-management?id=K95ztzvgwnshy