I am trying to update a field using an API call. I want to update the value field for the below
[{'category': 'Category1', 'label': 'Component1', 'value': 10.0},
{'category': 'Category2', 'label': 'Component2', 'value': 200}]
I am trying to update the value of Component1
from 10.0 to 20.0
I pass the payload as below
payload = {'customFields':{'label': 'Component1', 'value' : 20.0}}
headers = {'Authorization': 'Bearer ' + access}
response = requests.request("PATCH", url, headers=headers, json=payload)
This throws an error
"Invalid type. Expected Array but got Object."