Custom connector AssertionError: Blueprint names must be unique

Hello,

I have a problem while running: rasa run -m models --enable-api --cors “*”

“AssertionError: A blueprint with the name “custom_webhook_RestInput” is already registered. Blueprint names must be unique.”

I can’t figure out the solution…

Hi @allievo, you you mind specifying what Rasa version you are using, as well as sharing your credentials.yml file? Thanks.

Hi @fede, it should be latest version, I’ve installed it a couple of weeks ago… And here’s credentials.yml:

# This file contains the credentials for the voice & chat platforms
# which your bot is using.
# https://rasa.com/docs/rasa/user-guide/messaging-and-voice-channels/

rest:
#  # you don't need to provide anything here - this channel doesn't
#  # require any credentials


#facebook:
#  verify: "<verify>"
#  secret: "<your secret>"
#  page-access-token: "<your page access token>"

#slack:
#  slack_token: "<your slack token>"
#  slack_channel: "<the slack channel>"

#socketio:
#  user_message_evt: <event name for user message>
#  bot_message_evt: <event name for but messages>
#  session_persistence: <true/false>

rasa:
  url: "http://localhost:5002/api"


MyIo.RestInput:
  username: “user_name”
  another_parameter: “some value”

your rest and your custom both share a common name. Rest if you change this it will work