mongo-express-docker
mongo-express-docker copied to clipboard
Can't Import .csv - Docker logs return 400
When i click import button, and choose .csv file to import, it does nothing. I tried to refresh the page but still nothing in the collection. I checked the docker logs:
POST /db/sc/import/kay 400 14.482 ms - 8
POST /db/sc/import/kay 400 26.983ms - 8
POST /db/sc/import/kay 400 15.84 5 ms - 8
The issue seems bigger than that. Personnally, I can't import from any file at all. Export files are well generated, though any of them has a file extension. But I can't use any file to import a collection, .csv or not : import does nothing excepts display a 400 error in docker logs. Not even an error displayed in client.
Same problem here, tried json, jsonArray, csv...can't import any type of collections. =/
How this feature supposed to work? Maybe an error happen because target collection is not empty (in my case at least, I don't want to delete all entries just to see would or not it work). Or maybe because I made an export from different DB (another name and server) where another db-user assigned, even if I have access to both.