Event_broker endpoint causes duplicate error. How to fix?

Adding an additional endpoint to the Values.yml file for kubernetes deployment.

  additionalEndpoints:
    event_broker:
      type: botanalytics.rasa.Rasa
      apiKey:***

Causes the following error. Any other way of implementing an eventbroker? Or am i missing something?

←[92mStarting Rasa X in production mode... πŸš€β†[0m
←[91mYamlSyntaxException: Failed to read YAML. while constructing a mapping
  in "<unicode string>", line 1, column 1:
    models:
    ^ (line: 1)
found duplicate key "event_broker" with value "ordereddict([('apiKey', ***'), ('type', 'botanalytics.rasa.Rasa')])" (original value: "ordereddict([('type', 'pika'), ('url', 'rasa-x-1638801678-rabbit'), ('username', 'user'), ('password', <ruamel.yaml.comments.TaggedScalar object at 0x7f87701eeaf0>), ('port', 5672), ('queues', [<ruamel.yaml.comments.TaggedScalar object at 0x7f87701eec40>])])")
  in "<unicode string>", line 40, column 1:
    event_broker:
    ^ (line: 40)

Can you share the whole file please?