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)
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)