Custom connector error

RasaException: Failed to find input channel class for ‘my_connector.RestInput’. Unknown input channel. Check your credentials configuration to make sure the mentioned channel is not misspelled. If you are creating your own channel, make sure it is a proper name of a class in a module.

I am getting this error while running my custom channel. Can anyone please help? It’s running fine on rasa shell but while running cors I am getting this error.

@Ashish15 Can I asked which channel you are using?

Even If you can share your credentials.yml file.

@Ashish15

rest:

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

my_connector.RestInput:
  username: “user_name” if you have then only

@Ashish15 in my_connector.py

  @classmethod
    def name(cls) -> Text:
        return "rest"

yes…tried that as well…still getting the same error

@Ashish15 I haven’t see your other two files can you please upload again.

credentials.yml (806 Bytes) my_connector.py (5.5 KB) actions.py (1.3 KB)

uploaded…are u able to find them now?

tried…yet not working

@Ashish15 same error huh strange? :frowning:

Ikr!

Be sure to run the rasa api in the same directory where the connector file is.

that’s where i am getting the error sir