-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Labels
Milestone
Description
Attempting to update team profile attributes via a PUT request:
tags = [{'key_id': 1, 'value': 'Universidade Federal de Goiás'}, {'key_id': 3, 'value': 'Goiânia'}, {'key_id': 2, 'value': 'Brazil'}, {'key_id': 11, 'value': 'redacted@gmail.com'}, {'key_id': 13, 'value': ' '}, {'key_id': 12, 'value': 2021}]
requests.put(API_URL + '/teams/' + str(team_id), headers=headers, data=json.dumps({'tags':tags}))
Returns
{'statusCode': 400,
'error': 'Bad Request',
'message': 'Empty .update() call detected! Update data does not contain any values to update. This will result in a faulty query. Table: team. Columns: .'}
Oddly, it works for some teams and not for others?