We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This code says Invalid token:
let deviceIdArray = ["someid","someOtherId"] let deviceList = deviceIdArray.join() let statusResponse= await tuya.request({ path: `/v1.0/iot-03/devices/status`, method: 'GET', query:{ device_ids: deviceList });
And this one works:
let deviceIdArray = ["someid","someOtherId"] let deviceList = deviceIdArray.join() let statusResponse= await tuya.request({ path: `/v1.0/iot-03/devices/status?device_ids=${deviceList}`, method: 'GET', });`
Ideally, both imply same things, but looks like the query formation has some issue, using v2.0.2
The text was updated successfully, but these errors were encountered:
Are you sure the second one will work properly?
you can upgrade to v2.0.6, the path parse err will be fixed.
Sorry, something went wrong.
No branches or pull requests
This code says Invalid token:
And this one works:
Ideally, both imply same things, but looks like the query formation has some issue, using v2.0.2
The text was updated successfully, but these errors were encountered: