FilamentF
Filament2y ago
6 replies
Azorky

Import csv causes infinite loop, bug?

The import action from V3.1 for importing CSV files works perfectly fine on my local environment, but on my server, it's getting stuck in an infinite loop so it seems. When I import, nothing happens in the front-end, but when I look at the database I can see the processed_rows continuously going up:
image.png
Solution
The issue was with multi tenancy where the team could not be retrieved from the session because we switched from a sync queue to redis. Resolved it by getting the team id from the import instead
image.png
Was this page helpful?