Can't Grant Badge - Generic Error

I can’t reproduce this; it seems like Discourse just ignores invalid Reasons instead of producing an error…