Skip to content

Cannot update event org #744

Description

@csirt-pj

Hello
I try to update an event's org (not orgc):

event = misp.get_event(519, pythonify=False)
event['Event']['Org']['uuid']='5dfb7cb3-19c0-421e-a120-768ebca539c9'
event['Event']['Org']['name']="REDACTED"
event['Event']['Org']['id'] = '11'
event['Event']['org_id'] = '11'
misp.update_event(event, 519)

But all I get is:

{'errors': (403,
  {'saved': False,
   'name': 'Could not edit Event',
   'message': 'Could not edit Event',
   'url': '/events/edit/519',
   'errors': 'Event could not be saved: Event in the request not newer than the local copy.'})}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions