mozilla / openbadges-backpack

Mozilla Open Badges Backpack
https://backpack.openbadges.org/
Other
862 stars 263 forks source link

Is this supposed to be broken or are you still in development? #1119

Closed eric-blue closed 7 years ago

eric-blue commented 7 years ago

Getting that error from https://backpack.openbadges.org/backpack/add

image

alanheppenstall commented 7 years ago

It's not working for me either. I get a 303 response when trying to upload an image in that interface.

mattdigitalme commented 7 years ago

Hey @eric-blue & @alanheppenstall Can you let me know where the badge you are trying to upload originated from - and to what spec the badge has been baked.

@cadecairos are you able to get us over the error logs so we can start taking a look with @auralon

cadecairos commented 7 years ago

Unfortunately, when this error occurs, the actual data about the error is lost (because it's only output if the log level is set to "debug").

Judging from the screenshot and by reading the source, this error seems to be related to the tmpfile variable. To the client, this would be the "userBadge" property that's uploaded.

side-note: it doesn't look like we're cleaning up the temporary files created by connect-multiparty?

alanheppenstall commented 7 years ago

Hi @mattdigitalme - I'm getting a different error now.

screen shot 2017-01-09 at 13 29 02
Starli0n commented 7 years ago

I think you were like me, trying to upload a random image with the interface but you can only upload "bake" badge.

It should work now :-) For more details: New Issuers: Give Yourself a Badge

I needed to do it manually as the integration was not working from Code School.

eric-blue commented 7 years ago

Thanks for your answer! How might I find I get the assertion url however?

Starli0n commented 7 years ago

You are welcome :-)

For the assertion url, I inspected the requests sent from from Code School while trying to send a badge to my Backpack.