# AttributeError: 'Opensearch' object has no attribute 'options' while inserting documents via bulk API

**URL:** <https://forum.opensearch.org/t/attributeerror-opensearch-object-has-no-attribute-options-while-inserting-documents-via-bulk-api/10027>\
**Category:** Open Source Elasticsearch and Kibana\
**Tags:** troubleshoot\
**Created:** [June 23, 2022, 5:24am UTC](https://forum.opensearch.org/t/attributeerror-opensearch-object-has-no-attribute-options-while-inserting-documents-via-bulk-api/10027 "2022-06-23T05:24:43Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![kris](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/kris/32/2208_2.png) [@kris](https://forum.opensearch.org/u/kris)\
**Post date:** [June 28, 2022, 12:34am UTC](https://forum.opensearch.org/t/attributeerror-opensearch-object-has-no-attribute-options-while-inserting-documents-via-bulk-api/10027/3 "2022-06-28T00:34:41Z")

</div>

Welcome to the community @divyank_1 - I wonder if the information in this topic would help with your error: [Problem with mapping data (timestamp) types by using Bulk API - #3 by q2dg](https://forum.opensearch.org/t/problem-with-mapping-data-timestamp-types-by-using-bulk-api/9184/3)

@dtaivpp @pablo - any input is appreciated

---

_[View the full topic](https://forum.opensearch.org/t/attributeerror-opensearch-object-has-no-attribute-options-while-inserting-documents-via-bulk-api/10027)._
