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

Error while manually uploading badge #1172

@mcancellieri

Description

@mcancellieri

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions