# Cant run rasa with credentials

**URL:** <https://forum.rasa.com/t/cant-run-rasa-with-credentials/23255>\
**Category:** Rasa Open Source\
**Created:** [January 9, 2020, 8:05am UTC](https://forum.rasa.com/t/cant-run-rasa-with-credentials/23255 "2020-01-09T08:05:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vova999](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/vova999/32/6586_2.png) [@vova999](https://forum.rasa.com/u/vova999)\
**Post date:** [January 9, 2020, 8:05am UTC](https://forum.rasa.com/t/cant-run-rasa-with-credentials/23255/1 "2020-01-09T08:05:57Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![Arjaan](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/arjaan/32/5754_2.png) [@Arjaan](https://forum.rasa.com/u/Arjaan)\
**Post date:** [January 13, 2020, 8:27pm UTC](https://forum.rasa.com/t/cant-run-rasa-with-credentials/23255/2 "2020-01-13T20:27:43Z")

</div>

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](http://forum.rasa.com/t/exception-while-running-rasa-core-with-facebook-connector/4164), and it was fixed by updating the version & credentials.yml .
