# Failed to write data: unexpected error writing points to database: timeout

**URL:** https://community.influxdata.com/t/failed-to-write-data-unexpected-error-writing-points-to-database-timeout/29671
**Category:** InfluxDB 1
**Tags:** docker, cli
**Created:** [April 26, 2023, 10:45am UTC](https://community.influxdata.com/t/failed-to-write-data-unexpected-error-writing-points-to-database-timeout/29671 "2023-04-26T10:45:55Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Antoine\_Jacobs](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/antoine_jacobs/32/12952_2.png) [@Antoine\_Jacobs](https://community.influxdata.com/u/Antoine_Jacobs)
#### Post date: [April 26, 2023, 10:45am UTC](https://community.influxdata.com/t/failed-to-write-data-unexpected-error-writing-points-to-database-timeout/29671/1 "2023-04-26T10:45:55Z")

</div>

Hello,

I try to put some .csv file on my database but when i do the command " docker exec rcl\_monitoring\_influx-app\_1 influx write --bucket R0 --file /var/lib/influxdb2/outputR013.csv " , most of the time i will get an error like " Error: Failed to write data: unexpected error writing points to database: timeout. "

I guess maybe my .csv file contains too many data for influx but i would love to know if there is a trick or anything to make it work, thanks to you

 ![image](https://us1.discourse-cdn.com/flex023/uploads/influxdata/original/2X/2/29405e758abacc9223652c8c5656793cba339913.png)

Exemple of the .CSV :

 ![image](https://us1.discourse-cdn.com/flex023/uploads/influxdata/original/2X/1/1907089c75723d556643d9dbdc63d59930441dea.png)

I use Influx CLI version 2.09
