# Salesforce object NOT\_FOUND

**URL:** <https://discuss.elastic.co/t/salesforce-object-not-found/305937>\
**Category:** Logstash\
**Created:** [May 30, 2022, 10:46am UTC](https://discuss.elastic.co/t/salesforce-object-not-found/305937 "2022-05-30T10:46:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Simone1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simone1/32/97834_2.png) [@Simone1](https://discuss.elastic.co/u/Simone1)\
**Post date:** [May 30, 2022, 10:46am UTC](https://discuss.elastic.co/t/salesforce-object-not-found/305937/1 "2022-05-30T10:46:29Z")

</div>

I want to send data from Salesforce to Elasticsearch with Logstash.  
I have a case.conf file that sends data of the Case object and it works fine.  
But i want to send other object (WorkOrder for example) but when i start the pipeline i receive this error:

```auto
javapipeline - Pipeline terminated by worker error {:pipeline_id=>"main", :exception=>#<Restforce::NotFoundError response={:status=>404, ..."connection"=>"close"}, :body=>[{"errorCode"=>"NOT_FOUND", "message"=>"The requested resource does not exist"}]}

```

---

<div class="post-metadata">

**Author:** ![ibra\_013](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ibra_013/32/104827_2.png) [@ibra\_013](https://discuss.elastic.co/u/ibra_013)\
**Post date:** [June 1, 2022, 10:26am UTC](https://discuss.elastic.co/t/salesforce-object-not-found/305937/2 "2022-06-01T10:26:22Z")

</div>

Hi @Simone1

you can share the conf file so can you get help.

---

<div class="post-metadata">

**Author:** ![Simone1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simone1/32/97834_2.png) [@Simone1](https://discuss.elastic.co/u/Simone1)\
**Post date:** [June 7, 2022, 6:42am UTC](https://discuss.elastic.co/t/salesforce-object-not-found/305937/4 "2022-06-07T06:42:47Z")

</div>

input {  
salesforce {  
client\_id =\> '_**'  
client\_secret =\> '**_'  
username =\> 'my-email'  
password =\> 'password'  
security\_token =\> '\*\*\*\*'  
sfdc\_object\_name =\> 'WorkOrder'  
use\_test\_sandbox =\> 'true'  
}  
}

filter{  
}

output {  
stdout { codec =\> rubydebug }  
}

---

<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:** [July 5, 2022, 6:42am UTC](https://discuss.elastic.co/t/salesforce-object-not-found/305937/5 "2022-07-05T06:42:48Z")

</div>

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