# how import/export  csv in shopware 6

**URL:** https://forum.shopware.com/t/how-import-export-csv-in-shopware-6/66623
**Category:** General Questions (EN)
**Created:** [30. April 2020 um 14:15 UTC](https://forum.shopware.com/t/how-import-export-csv-in-shopware-6/66623 "2020-04-30T14:15:03Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![pedramham](https://avatars.discourse-cdn.com/v4/letter/p/ce73a5/32.png) [@pedramham](https://forum.shopware.com/u/pedramham)
#### Post date: [30. April 2020 um 14:15 UTC](https://forum.shopware.com/t/how-import-export-csv-in-shopware-6/66623/1 "2020-04-30T14:15:03Z")

</div>

Hi i try to&nbsp; import **csv** file in shopware 6 (( _[acoording to this document](https://forum.shopware.com/post/question/general-questions)_)) .I try to&nbsp; test in locall server but it gives an error : [https://testshopware.local/api/v1/\_action/import-export/prepare](https://testshopware.local/api/v1/_action/import-export/prepare)

For test i try to export **Default product** but again it gives an error&nbsp; [https://testshopware.local/api/v1/\_action/import-export/prepare](https://testshopware.local/api/v1/_action/import-export/prepare)

I google about this error ,But i can not find any issue about it.How i can fixed this error.

Generally can i use&nbsp; import/export in local server ???

&nbsp;

dev.log

```
[2020-04-30 15:08:24] request.INFO: Matched route "api.import_export_log.search". {"route":"api.import_export_log.search","route_parameters":{"_route":"api.import_export_log.search","_controller":"Shopware\\Core\\Framework\\Api\\Controller\\ApiController::search","entityName":"import-export-log","version":"1","path":""},"request_uri":"https://testshopware.local/api/v1/search/import-export-log","method":"POST"} []

[2020-04-30 15:08:27] request.INFO: Matched route "api.action.import_export.initiate". {"route":"api.action.import_export.initiate","route_parameters":{"_route":"api.action.import_export.initiate","_controller":"Shopware\\Core\\Content\\ImportExport\\Controller\\ImportExportActionController::initiate","version":"1"},"request_uri":"testshopware.local/api/v1/_action/import-export/prepare","method":"POST"} []

```

&nbsp;
