A user reported an issue with granting custom badges when the reason field is not empty Ivan_Rapekas. The problem was suspected to be related to the forum being in a subfolder. However, saurabhp identified the root cause as the failure to account for relative_root_url while parsing the badge reason. A pull request was created to fix the issue, which has since been merged tgxworld, resolving the problem.
Hi,
I was able to find the issue. I found it out after seeing that we were returning 404 in the first screenshot instead of 400. We were not taking care of relative_root_url while parsing reason of badge.