Skip to content
This repository has been archived by the owner on Aug 22, 2019. It is now read-only.

Error while manually uploading badge #1172

Open
mcancellieri opened this issue Jul 20, 2018 · 0 comments
Open

Error while manually uploading badge #1172

mcancellieri opened this issue Jul 20, 2018 · 0 comments

Comments

@mcancellieri
Copy link

Hello,
We are implementing our own badges at https://fosteropencience.eu and we would like to test the integration with your service.
The image validates if I run it through https://openbadgesvalidator.imsglobal.org/

While trying to upload the badge attached I receive the following error:

TypeError: Cannot call method 'get' of undefined at Object.userBadgeUpload [as handle] (/app/controllers/backpack.js:377:41) at next_layer (/app/node_modules/express/lib/router/route.js:103:13) at Object.csrf [as handle] (/app/node_modules/csurf/index.js:117:5) at next_layer (/app/node_modules/express/lib/router/route.js:103:13) at Object.urlencodedParser [as handle] (/app/node_modules/body-parser/lib/types/urlencoded.js:82:7) at next_layer (/app/node_modules/express/lib/router/route.js:103:13) at Route.dispatch (/app/node_modules/express/lib/router/route.js:107:5) at c (/app/node_modules/express/lib/router/index.js:195:24) at Function.proto.process_params (/app/node_modules/express/lib/router/index.js:251:12) at next (/app/node_modules/express/lib/router/index.js:189:19)

240

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

No branches or pull requests

1 participant