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

500 Error: Multipart: Boundary not found #1435

Open
alxndrsn opened this issue Mar 11, 2025 · 0 comments · May be fixed by #1436
Open

500 Error: Multipart: Boundary not found #1435

alxndrsn opened this issue Mar 11, 2025 · 0 comments · May be fixed by #1436

Comments

@alxndrsn
Copy link
Contributor

alxndrsn commented Mar 11, 2025

Related

Steps to recreate

curl 'https://staging.getodk.cloud/-/submission/Ih34Fbb2Tw3j5Eh2hrjWF82yVeJR6q4' \
  -H 'X-OpenRosa-Version: 1.0' \
  -H 'X-OpenRosa-Deprecated-Id: uuid:ee8b46a3-91c5-4e80-8aad-e9761d1ca874' \
  -H 'X-OpenRosa-Instance-Id: uuid:18f78460-81e2-4ddd-b723-499dce2618ca' \
  -H 'Content-Type: multipart/form-data' \
  --data-binary $''

Logs

service-1  | Error: Multipart: Boundary not found
service-1  |     at new Multipart (/usr/odk/node_modules/busboy/lib/types/multipart.js:233:13)
service-1  |     at getInstance (/usr/odk/node_modules/busboy/lib/index.js:33:12)
service-1  |     at module.exports (/usr/odk/node_modules/busboy/lib/index.js:56:10)
service-1  |     at multerMiddleware (/usr/odk/node_modules/multer/lib/make-middleware.js:28:16)
service-1  |     at Layer.handle [as handle_request] (/usr/odk/node_modules/express/lib/router/layer.js:95:5)
service-1  |     at next (/usr/odk/node_modules/express/lib/router/route.js:149:13)
service-1  |     at Route.dispatch (/usr/odk/node_modules/express/lib/router/route.js:119:3)
service-1  |     at Layer.handle [as handle_request] (/usr/odk/node_modules/express/lib/router/layer.js:95:5)
service-1  |     at /usr/odk/node_modules/express/lib/router/index.js:284:15
service-1  |     at param (/usr/odk/node_modules/express/lib/router/index.js:365:14)
service-1  |     at param (/usr/odk/node_modules/express/lib/router/index.js:376:14)
service-1  |     at Function.process_params (/usr/odk/node_modules/express/lib/router/index.js:421:3)
service-1  |     at next (/usr/odk/node_modules/express/lib/router/index.js:280:10)
service-1  |     at cookieParser (/usr/odk/node_modules/cookie-parser/index.js:57:14)
service-1  |     at Layer.handle [as handle_request] (/usr/odk/node_modules/express/lib/router/layer.js:95:5)
service-1  |     at trim_prefix (/usr/odk/node_modules/express/lib/router/index.js:328:13)
service-1  | ::ffff:172.18.0.5 - - [11/Mar/2025:06:29:03 +0000] "POST /v1/projects/1/submission HTTP/1.0" 500 35
alxndrsn pushed a commit to alxndrsn/odk-central-backend that referenced this issue Mar 11, 2025
Errors from multer/busboy were previously unhandled, and would result in various 500 errors.

Closes getodk#1432
Closes getodk#1433
Closes getodk#1435
@alxndrsn alxndrsn linked a pull request Mar 11, 2025 that will close this issue
2 tasks
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

Successfully merging a pull request may close this issue.

1 participant