"Uncaught InternalError: too much recursion" while affecting a badge

On the /admin/users/{user_id}/{username}/badges page, when I try to add a badge to a user I’m getting:

Uncaught InternalError: too much recursion
    Ember 6
    untrack validator.js:681
    Ember 6
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
    grantBadge admin-user-badges.js:62
vendor-2409a2c4ae4555c2b063c34234d358f83a23d3ade201ee7a47602bcc8135388d.js:1344:26
    get https://discuss.afpy.org/assets/vendor-2409a2c4ae4555c2b063c34234d358f83a23d3ade201ee7a47602bcc8135388d.js:1344
    r https://discuss.afpy.org/assets/vendor-2409a2c4ae4555c2b063c34234d358f83a23d3ade201ee7a47602bcc8135388d.js:1310
    Ee https://discuss.afpy.org/assets/vendor-2409a2c4ae4555c2b063c34234d358f83a23d3ade201ee7a47602bcc8135388d.js:1324
    Ce https://discuss.afpy.org/assets/vendor-2409a2c4ae4555c2b063c34234d358f83a23d3ade201ee7a47602bcc8135388d.js:1327
    xe https://discuss.afpy.org/assets/vendor-2409a2c4ae4555c2b063c34234d358f83a23d3ade201ee7a47602bcc8135388d.js:1323
    get https://discuss.afpy.org/assets/vendor-2409a2c4ae4555c2b063c34234d358f83a23d3ade201ee7a47602bcc8135388d.js:1364
    untrack https://discuss.afpy.org/assets/vendor-2409a2c4ae4555c2b063c34234d358f83a23d3ade201ee7a47602bcc8135388d.js:3677
    get https://discuss.afpy.org/assets/vendor-2409a2c4ae4555c2b063c34234d358f83a23d3ade201ee7a47602bcc8135388d.js:1364
    r https://discuss.afpy.org/assets/vendor-2409a2c4ae4555c2b063c34234d358f83a23d3ade201ee7a47602bcc8135388d.js:1310
    Ee https://discuss.afpy.org/assets/vendor-2409a2c4ae4555c2b063c34234d358f83a23d3ade201ee7a47602bcc8135388d.js:1324
    Ce https://discuss.afpy.org/assets/vendor-2409a2c4ae4555c2b063c34234d358f83a23d3ade201ee7a47602bcc8135388d.js:1327
    xe https://discuss.afpy.org/assets/vendor-2409a2c4ae4555c2b063c34234d358f83a23d3ade201ee7a47602bcc8135388d.js:1323
    get https://discuss.afpy.org/assets/vendor-2409a2c4ae4555c2b063c34234d358f83a23d3ade201ee7a47602bcc8135388d.js:1955
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380
    grantBadge self-hosted:1365
    grantBadge https://discuss.afpy.org/assets/admin-85fb1be272eed55b12a7216b41d536513d6826a8fc098241fb405a322aae663e.js:1380

I’m on 3.1.0.beta3 (faf2a8ada2)

1 Like

Hi Julien. :wave:

Are you trying grant a custom badge? This was recently reported and fixed at Granting custom badges is not working. Try updating to the latest and trying. :slight_smile:

1 Like

That’s right, I just upgraded, and it’s fixed now.

Sorry for the duplicate!

Thank you!

3 Likes