Unable to submit entry for One Button Hack contest
I am unable to submit an entry for the One Button contest using the supplied minihackContest.submit function. I keep getting the error "Submission failed: HTTP 500 Something went wrong. Please try again in a moment.". It happens to me both in a MATLAB session as well as on a MATLAB Online session. No idea what I am doing wrong...
4 Comments
Time DescendingThanks for looking at my issue. I would say there is a bug in the minihackContest.validate function because it validates my code, you need to add the readmatrix function to the list of banned functions. It would also be more helpful if the submit function gave a better diagnostic, rather than the misleading "Submission failed: HTTP 500
Something went wrong. Please try again in a moment."
Hi @Jorge Paloschi, it seems like your submission is failing because your game reads an external file, goalKeeper1.txt. You are supposed to keep all the logic in game.m file which gets uploaded to the contest when you submit. To fix it, you might want to figure out a way to put the data from that file directly into game.m so the game is fully self-contained and then submit again.
Sign in to participate