# Bug in export to CSV file

**URL:** <https://community.forestadmin.com/t/bug-in-export-to-csv-file/3331>\
**Category:** Help me!\
**Created:** [September 23, 2021, 1:15pm UTC](https://community.forestadmin.com/t/bug-in-export-to-csv-file/3331 "2021-09-23T13:15:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Martin\_Gregoire](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/martin_gregoire/32/3146_2.png) [@Martin\_Gregoire](https://community.forestadmin.com/u/Martin_Gregoire)\
**Post date:** [September 23, 2021, 1:15pm UTC](https://community.forestadmin.com/t/bug-in-export-to-csv-file/3331/1 "2021-09-23T13:15:12Z")

</div>

## Expected behavior

In any table, Actions → Export CSV  
Confirm the size of the CSV download (in my case 1903 rows)  
Download CSV and open CSV  
Expected: CSV is 1903 rows

## Actual behavior

Actual: CSV is 18 rows

Could you please help me and solve this issue?

Thank you

---

<div class="post-metadata">

**Author:** ![anon62739609](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@anon62739609](https://community.forestadmin.com/u/anon62739609)\
**Post date:** [September 24, 2021, 7:14am UTC](https://community.forestadmin.com/t/bug-in-export-to-csv-file/3331/2 "2021-09-24T07:14:31Z")

</div>

Hi @Martin_Gregoire and welcome in our community 🍾 ,

Do you have the right number of records in your table ?  
Could you please also share your agent type (forest-express-sequelize, forest-express-mongoose, forest-rails, …) and version please 🙏 ?  
Is your pagination of 18 ?
