When I try to grant a badge:
I used to be able to grant badges fine. Tons of people have this very badge – I tried to grant a random badge to myself, too, and still getting a vague error.
Nothing special about this badge - no sql or anything. It’s just a badge I manually add.
HAWK
(Hawk)
28. Juli 2017 um 02:44
2
1 „Gefällt mir“
sam
(Sam Saffron)
28. Juli 2017 um 17:12
3
Our error message can be TONS better here, so leaving this open.
But the problem here is that it is expecting a link to a post or topic per the text at the bottom.
There was also a bug in badges that was fixed, try latest
5 „Gefällt mir“
Probably not this bug – I just found time to upgrade and it’s still doing it:
sam
(Sam Saffron)
11. August 2017 um 16:26
5
Wait, reason can not be “Backer!”, paste a link to a topic there or a topic id.
1 „Gefällt mir“
That’s not for generic notes? Should really ask for a “topic url” instead of “reason”, if that’s the case. Super misleading~ Thanks, I’ll try it!
EDIT: Worked by leaving it blank.
Suggested changes:
Change “reason” to “Topic URL”
Catch “Sorry, an error has occurred” to “Invalid Topic URL”
EDIT 2: Oh, I just saw this –
Heheh… maybe a little bigger. Several people responded here not noticing, either.
1 „Gefällt mir“
sam
(Sam Saffron)
16. August 2017 um 12:43
9
pr-welcome for improving the error message.
2 „Gefällt mir“
notriddle
(Michael Howell)
10. Oktober 2017 um 23:04
10
I can’t reproduce this; it seems like Discourse just ignores invalid Reasons instead of producing an error…
saurabhp
(Saurabh Patel)
21. Dezember 2018 um 08:53
11
Change to send an error from backend if the reason was not valid was done here:
I have made the change to show the corresponding message to the user here. This needs to be reviewed:
discourse:master
← mrfinch:saurabh/show-error-msg
opened 08:50AM - 21 Dec 18 UTC
https://meta.discourse.org/t/cant-grant-badge-generic-error/66982/9
7 „Gefällt mir“
saurabhp
(Saurabh Patel)
3. Januar 2019 um 03:29
12
This is fixed now. It can be closed.
4 „Gefällt mir“