Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import buttons don't work #128

Open
malemburg opened this issue Sep 23, 2024 · 0 comments
Open

Import buttons don't work #128

malemburg opened this issue Sep 23, 2024 · 0 comments

Comments

@malemburg
Copy link

I'm tying to import an export made using mongo express, but the logs always show:

mongo-express  | TypeError: Spread syntax requires ...iterable[Symbol.iterator] to be a function
mongo-express  |     at exp.importCollection (file:///app/lib/routes/collection.js:512:16)
mongo-express  |     at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
mongo-express  |     at next (/app/node_modules/express/lib/router/route.js:144:13)
mongo-express  |     at mongoMiddleware (file:///app/lib/router.js:263:5)
mongo-express  |     at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
mongo-express  |     at next (/app/node_modules/express/lib/router/route.js:144:13)
mongo-express  |     at Route.dispatch (/app/node_modules/express/lib/router/route.js:114:3)
mongo-express  |     at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
mongo-express  |     at /app/node_modules/express/lib/router/index.js:284:15
mongo-express  |     at param (/app/node_modules/express/lib/router/index.js:365:14)

and the browser gets a 400 back.

I have tried this with the import buttons on the collections page, as well as the import buttons on the individual collections. Both show the same behavior.

I've tried this with the 1.0 and 1.0-20 docker images. Both have the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant