Error while trying to write to camera

codeformatting

#1

I would like to change the is_streaming value on my camera, from false to true.

This is my request:

{"is_streaming": "true"}

This is the response:

{
  "error": "is_streaming is not boolean",
  "type": "https://developer.nest.com/documentation/cloud/error-messages#invalid-is-stream-format",
  "message": "is_streaming is not boolean",
  "instance": "4eaaf773-ecaa-457a-84a4-79a8c8450931"
}

I don’t understand what I am doing wrong…
Please advise


#2

true does not need the double quotes. Remove the double quotes and try again. The double quotes make it a string and the request requires a boolean.