# Failed to execute action

**URL:** <https://discuss.elastic.co/t/failed-to-execute-action/285464>\
**Category:** Logstash\
**Created:** [September 29, 2021, 10:34am UTC](https://discuss.elastic.co/t/failed-to-execute-action/285464 "2021-09-29T10:34:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Busra\_Duygu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/busra_duygu/32/90462_2.png) [@Busra\_Duygu](https://discuss.elastic.co/u/Busra_Duygu)\
**Post date:** [September 29, 2021, 10:34am UTC](https://discuss.elastic.co/t/failed-to-execute-action/285464/1 "2021-09-29T10:34:51Z")

</div>

Hi firends i am getting an error like below but there is no error in the first line of my conf file. Does anyone have an idea ?

```auto
Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:main, :exception=>"LogStash::ConfigurationError", :message=>"Expected one of [\\t\\r\\n], \"#\", \"input\", \"filter\", \"output\" at line 1, column 1 (byte 1)", :backtrace=>["C:/logstash-7.10. 1/logstash-core/lib/logstash/compiler.rb:32:in `compile_imperative'", "org/logstash/execution/AbstractPipelineExt.java:184:in `initialize'", "org/logstash/execution/JavaBasePipelineExt. java:69:in `initialize'", "C:/logstash-7.10.1/logstash-core/lib/logstash/java_pipeline.rb:47:in `initialize'", "C:/logstash-7.10.1/ logstash-core/lib/logstash/pipeline_action/create.rb:52:in `execute'", "C:/logstash-7.10.1/logstash-core/lib/logstash/agent.rb:365:in `block in converge_state'"]}

```

My conf file:

```auto
input { 
   file { 
      path => "C:/Users/........./example.csv"
      start_position => "beginning"
      sincedb_path => "NUL" 
   }
}
filter{...}
output{...}

```

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [September 29, 2021, 3:21pm UTC](https://discuss.elastic.co/t/failed-to-execute-action/285464/2 "2021-09-29T15:21:59Z")

</div>

There are many threads in this forum addressing this. [Here](https://discuss.elastic.co/t/error-logstash-agent-expected-one-of-t-r-n-input-filter-output-at-line-1-column-1-byte-1/269515/2) is one.

---

<div class="post-metadata">

**Author:** ![Busra\_Duygu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/busra_duygu/32/90462_2.png) [@Busra\_Duygu](https://discuss.elastic.co/u/Busra_Duygu)\
**Post date:** [September 30, 2021, 6:27am UTC](https://discuss.elastic.co/t/failed-to-execute-action/285464/3 "2021-09-30T06:27:44Z")

</div>

@Badger thank you.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 28, 2021, 6:27am UTC](https://discuss.elastic.co/t/failed-to-execute-action/285464/4 "2021-10-28T06:27:57Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
