setResourceParams cant deserialize JSON input
Answered
When using setResourceParams to change the camera password I get
"Can't deserialize input Json data to destination object." Am I inputting something wrong? I changed name to defaultCredentials because that's what the getResourceParams function returned.


0
-
Official comment
Hi, @...
You've got to put your json in square brackets like this:[ { "value": "string", "name": "string", "resourceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6" } ]I know it is not reflected in API documentation, but it is also another bug, that we will need to fix there.
Let me know if this will work for you.
Please sign in to leave a comment.
Comments
1 comment