Hello, I am trying to add a new feature layer to an existing feature layer collection on AGO via the add_to_definition operation using arcgis api for python (adding Ropes feature layer to Breckenridge_resort_SDM feature layer collection). I'm having trouble finding good code examples for adding a feature layer in this way using a JSON object (formatting). Here is my code as well as the error I'm getting. The layer I am trying to add to the feature layer collection is a layer within another hosted feature layer collection on AGO. I got the JSON object from copy and pasting the layer information from querying the properties of the feature layer collection. I would be so grateful to get some help on where I'm going wrong. Thanks

