Update Sight with API Error

I am trying to update a sight (dashboard) using the following code but am getting an error:

The "Test Sight" object is working perfectly fine:

But the error is coming from trying to use update_sight. This is a bit of a difficult ask but any help is appreciated!

Answers