# Error saving data to dump file

**URL:** <https://discourse.nodered.org/t/error-saving-data-to-dump-file/4322>\
**Category:** Dashboard\
**Created:** [26 October 2018 15:39 UTC](https://discourse.nodered.org/t/error-saving-data-to-dump-file/4322 "2018-10-26T15:39:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bambulko](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bambulko/32/3126_2.png) [@Bambulko](https://discourse.nodered.org/u/Bambulko)\
**Post date:** [26 October 2018 15:39 UTC](https://discourse.nodered.org/t/error-saving-data-to-dump-file/4322/1 "2018-10-26T15:39:07Z")

</div>

hi  
when i store data from chart to dump file, i have error: "failed to write to file: Error: write after end". you do not know why?

thanks

here is mi flow :  
`[{"id":"c0d99189.5b7cf","type":"ui_chart","z":"76afcd8c.635134","name":"G1","group":"ee6d10bf.15519","order":4,"width":"0","height":"0","label":"","chartType":"line","legend":"true","xformat":"HH:mm","interpolate":"linear","nodata":"No data","dot":false,"ymin":"","ymax":"","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"86400","cutout":0,"useOneColor":false,"colors":["#0a62d0","#aec7e8","#f2ec44","#2ca02c","#98df8a","#8a1718","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":true,"x":750,"y":100,"wires":[["88dba994.16e9f8"],[]]},{"id":"88dba994.16e9f8","type":"file","z":"76afcd8c.635134","name":"Chart dump","filename":"/home/pi/charts/rpi-dht11-in.dump","appendNewline":true,"createDir":false,"overwriteFile":"true","x":970,"y":100,"wires":[[]]},{"id":"f60a0055.0122a","type":"inject","z":"76afcd8c.635134","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":580,"y":100,"wires":[["c0d99189.5b7cf"]]},{"id":"ee6d10bf.15519","type":"ui_group","z":"","name":"Vnútri","tab":"1766cc.bcfb9934","order":2,"disp":true,"width":"7","collapse":false},{"id":"1766cc.bcfb9934","type":"ui_tab","z":"","name":"Home","icon":"home","order":2}]`
