Cant run rasa with credentials

Dear all,

Recently I have done config my bot and try to deploy to Facebook messenger however I cant start rasa with

rasa run --credentials credentials.yml

error return:

    Traceback (most recent call last):
  File "c:\users\nguye\appdata\local\programs\python\python37\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\users\nguye\appdata\local\programs\python\python37\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\nguye\AppData\Local\Programs\Python\Python37\Scripts\rasa.exe\__main__.py", line 7, in <module>
  File "c:\users\nguye\appdata\local\programs\python\python37\lib\site-packages\rasa\__main__.py", line 76, in main
    cmdline_arguments.func(cmdline_arguments)
  File "c:\users\nguye\appdata\local\programs\python\python37\lib\site-packages\rasa\cli\run.py", line 114, in run
    rasa.run(**vars(args))
  File "c:\users\nguye\appdata\local\programs\python\python37\lib\site-packages\rasa\run.py", line 56, in run
    **kwargs,
  File "c:\users\nguye\appdata\local\programs\python\python37\lib\site-packages\rasa\core\run.py", line 162, in serve_application
    input_channels = create_http_input_channels(channel, credentials)
  File "c:\users\nguye\appdata\local\programs\python\python37\lib\site-packages\rasa\core\run.py", line 49, in create_http_input_channels
    return [_create_single_channel(c, k) for c, k in all_credentials.items()]
  File "c:\users\nguye\appdata\local\programs\python\python37\lib\site-packages\rasa\core\run.py", line 49, in <listcomp>
    return [_create_single_channel(c, k) for c, k in all_credentials.items()]
  File "c:\users\nguye\appdata\local\programs\python\python37\lib\site-packages\rasa\core\run.py", line 56, in _create_single_channel
    return BUILTIN_CHANNELS[channel].from_credentials(credentials)
  File "c:\users\nguye\appdata\local\programs\python\python37\lib\site-packages\rasa\core\channels\facebook.py", line 272, in from_credentials
    cls.raise_missing_credentials_exception()
  File "c:\users\nguye\appdata\local\programs\python\python37\lib\site-packages\rasa\core\channels\channel.py", line 126, in raise_missing_credentials_exception
    cls.name(), cls.name(), DOCS_BASE_URL
Exception: To use the facebook input channel, you need to pass a credentials file using '--credentials'. The argument should be a file path pointing to a yml file containing the facebook authentication information. Details in the docs: https://rasa.com/docs/rasa/user-guide/messaging-and-voice-channels/

I already had the credentials.yml file configured could someone point me in the right direction??

Thank you!

Hi @vova999,

Please make sure to use the latest release of Rasa and the instructions from the latest docs.

Others have experienced the same error you have, see for example this issue, and it was fixed by updating the version & credentials.yml .