# Invalid Story format error rasa\_x

**URL:** <https://forum.rasa.com/t/invalid-story-format-error-rasa-x/44541>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [June 12, 2021, 11:07am UTC](https://forum.rasa.com/t/invalid-story-format-error-rasa-x/44541 "2021-06-12T11:07:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zaowad](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/zaowad/32/13245_2.png) [@zaowad](https://forum.rasa.com/u/zaowad)\
**Post date:** [June 12, 2021, 11:07am UTC](https://forum.rasa.com/t/invalid-story-format-error-rasa-x/44541/1 "2021-06-12T11:07:58Z")

</div>

My project runs totally fine with `rasa shell` command. But problem occurs whenever i run `rasa x --enable-api` .

```auto
2021-06-12 16:59:18 WARNING rasa.shared.core.training_data.story_reader.markdown_story_reader - Skipping line 3. No valid command found. Line Content: 'A simple open source web interface for building voice assistants with'
2021-06-12 16:59:18 WARNING rasa.shared.core.training_data.story_reader.markdown_story_reader - Skipping line 4. No valid command found. Line Content: 'Rasa. The interface records the voice input by connecting to the microphone'
2021-06-12 16:59:18 WARNING rasa.shared.core.training_data.story_reader.markdown_story_reader - Skipping line 5. No valid command found. Line Content: 'enabled on your browser and autoplays the response generated by Rasa.'
2021-06-12 16:59:18 WARNING rasa.shared.core.training_data.story_reader.markdown_story_reader - Skipping line 7. No valid command found. Line Content: 'This is an alpha release of this voice interface. Community contributions'
2021-06-12 16:59:18 WARNING rasa.shared.core.training_data.story_reader.markdown_story_reader - Skipping line 8. No valid command found. Line Content: 'are very welcome.'
Traceback (most recent call last):
  File "/home/zaowad/Desktop/rasa_x/Rasa_X_latest/lib/python3.7/site-packages/rasa/cli/x.py", line 501, in run_locally
    domain_path=domain_path,
  File "/home/zaowad/Desktop/rasa_x/Rasa_X_latest/lib/python3.7/site-packages/rasax/community/local.py", line 242, in main
    project_path, data_path, session, args.port, config_path, domain_path
  File "/home/zaowad/Desktop/rasa_x/Rasa_X_latest/lib/python3.7/site-packages/rasax/community/local.py", line 169, in _initialize_with_local_data
    domain_path=domain_path,
  File "uvloop/loop.pyx", line 1456, in uvloop.loop.Loop.run_until_complete
  File "/home/zaowad/Desktop/rasa_x/Rasa_X_latest/lib/python3.7/site-packages/rasax/community/initialise.py", line 375, in inject_files_from_disk
    username,
  File "/home/zaowad/Desktop/rasa_x/Rasa_X_latest/lib/python3.7/site-packages/rasax/community/initialise.py", line 144, in inject_stories
    test_story_files, team, project_id, username, is_test=True
  File "/home/zaowad/Desktop/rasa_x/Rasa_X_latest/lib/python3.7/site-packages/rasax/community/services/story_service.py", line 568, in save_stories_from_files
    is_test=is_test,
  File "/home/zaowad/Desktop/rasa_x/Rasa_X_latest/lib/python3.7/site-packages/rasax/community/services/story_service.py", line 449, in save_stories
    story_string, filename, domain, is_test
  File "/home/zaowad/Desktop/rasa_x/Rasa_X_latest/lib/python3.7/site-packages/rasax/community/services/story_service.py", line 348, in _extract_stories_markdown
    f"Invalid story format. Failed to parse '{story_text}'"
rasa.shared.core.training_data.story_reader.story_reader.StoryParseError

```

I validated my project directory with `rasa data validate` command and it produces no error.

These are the related files: [rules.yml](https://forum.rasa.com/uploads/short-url/pq9thzZdfx3oBy3sASpCjvmfKTz.yml) (731 Bytes) [stories.yml](https://forum.rasa.com/uploads/short-url/h8x7LNVcgitP917zWmKWtSewikt.yml) (916 Bytes) [domain.yml](https://forum.rasa.com/uploads/short-url/5voLjhdEMrAyZtcihElskZbCvGK.yml) (3.1 KB)
