You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I add attributes in multiple using add_attribute (I give a list to value) and I get the error I show above. I show the reason for this below.
Something went wrong (403): {'saved': False, 'name': 'Could not add Attribute', 'message': 'Could not add Attribute', 'url': '/attributes/add', 'errors': {'attribute_0': {'value': ['A similar attribute already exists for this event.']}, 'attribute_1': {'value': ['A similar attribute already exists for this event.']}, 'attribute_2': {'value': ['A similar attribute already exists for this event.']}, 'attribute_3': {'value': ['A similar attribute already exists for this event.']}}}
Add support for a breakOnDuplicate named parameter on /attributes/add endpoint, default value is true which keeps the current behavior of throwing an error when the user tries to add duplicate attribute to an event. When set to false the endpoint will work as an upsert, updating the attributes timestamp and any other properties provided in the payload, no error logs will be written.
line 779, in add_attribute
if ('errors' in new_attribute and new_attribute['errors'][0] == 403
KeyError: 0
The text was updated successfully, but these errors were encountered: