Skip to content

Bot development: intelmq.lib.exceptions.KeyExists #2463

Closed Answered by sebix
vandaref asked this question in Support
Discussion options

You must be logged in to vote

I don't have the input data, so it's again a guess.
raw_json["resources"] appears to be a list not a dict of lists. Thus, in each loop iteration event already has some data.
Try moving the event = and yield event inside the loop.

Replies: 6 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@vandaref
Comment options

@sebix
Comment options

Answer selected by vandaref
@vandaref
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants
Converted from issue

This discussion was converted from issue #2462 on February 12, 2024 08:51.