The Badge Award API is Broken

I’m guessing you didn’t read the replies because this guy said the same thing and was proven wrong by 4 different people.

3 Likes

I don’t think you realize this bug doesn’t just affect “stupid” badge walks, but also lots of other games (mostly notably “Find the ___” games), and whether you like those games or not, they could potentially be losing a lot of players because of this bug which is obviously a huge issue that needs to be fixed (whether that means them fixing the bug, or it actually being a rate limit like most people say and them instead starting to document about it and make sure developers can take the right precautions when :AwardBadge() fails).

8 Likes

You are echoing the second half of my reply, so I think you know I do realize there is a problem here. :stuck_out_tongue_winking_eye:

If that was your point then was it really necessary to call a genre of games people enjoy “stupid?” Just saying, I don’t think that really needed to be added.

11 Likes

EDIT: to be super clear, we are talking about “badge walker” games here. Not any game that uses badges.

Absolutely because I don’t want them to enable these kind of experiences. My opinion is that this genre makes a particular feature of Roblox much less meaningful and interesting to users than it otherwise could be when you compare to achievement features on other platforms (e.g. compare to Steam achievements).

2 Likes

My point though is that it obviously isn’t less meaningful to people who enjoy it. Also, almost every (if not all) achievement feature on other platforms have the same thing, like for example, Steam has spam games with thousands of easy achievements.


Source

6 Likes

Admittedly, Roblox’s problem is more on the display side than on the grant side. Steam does a much better job at showing off cool/rare/meaningful achievements and filtering out the junk, which also makes it less incentivizing to strive for the junk in the first place.

Note also that Steam has implemented limits over time and there’s huge community sentiment that the limits should be even lower: (just scroll through comments) https://www.reddit.com/r/Steam/comments/6ok40v/there_is_now_a_limit_of_5000_steam_achievements/

Rate limiting this on Roblox is a big win for the meaningfulness of the feature. (We also need other improvements on the display side)

3 Likes

True, I definitely think Roblox should have a badge showcase similar to Steam’s achievement showcase, and I’m pretty sure @dug_VT is even writing a feature request for something similar to this.

Unless if it was breaking something, I’m not exactly sure how this supposed rate limit is a “big win,” since in my opinion a rate limit wouldn’t really make the badges more meaningful, especially because the developers of these huge badge games would just find a work around.

10 Likes

I wasn’t aware of the limits on the badge award system either, but I figured some were already in place. I never planned for it to be unlimited rates and thus built a queue system to award player badges on a delay from the start. Glad I did this now after reading this topic. :grinning:

1 Like

If I’m not wrong, this is intended as a rate limiting feature to avoid spam requests to the API.

I’m talking not just limiting in terms of what you can award. They should add more limits, such as a reasonable max number of badges per universe, as well. (In addition to the display-side fixes and prioritizing meaningful achievements)

That’s off-topic on this bug report though so I’ll reserve that for another topic.

I am getting a large number of errors in my game for UserHasBadgeAsync.
image
I hadn’t been using pcalls because UserHasBadgeAsync has been reliable up until this point, which is my mistake… but this bug (NOT a ratelimit) is officially breaking games, as it stops my scripts when the error occurs.

10 Likes

Hmm weird, no bugs seemed to be happening with :UserHasBadgeAsync() before… maybe more of the badge API is breaking? There’s also a chance you could’ve accidentally made a typo or something (so make sure to check for that), but luckily for :UserHasBadgeAsync() it actually errors so wrapping it in a pcall should fix the problem.

4 Likes

The script has worked for the past 2 months, unchanged. Definitely a new issue with the badge API. I have fixed it with pcall, but again, this further supports that there are genuine errors with the Badge API, not a new rate limit as others are suggesting.

10 Likes

I can concur with latitudes, the API to check the badge has been flaky recently as I’ve had to build a queue system for it so that when it fails, the server will check again after a delay but not hold the players up waiting for it. :worried:

2 Likes

Even if roblox put a rate limit feature, why add it like that without documentation, before there is no rate limit and badges worked perfectly fine
Even if there is a rate limit, it doesn’t make sense, sometimes it only rewards me 6 badges max, sometimes 16 badges, sometimes 1 Badge, it’s illogical
In the roblox studio, it’s perfectly rewarding
Otherwise this bug does not only happen on Badges Walk alias “this stupid genre of experiences” (if this community loving this why hating of them, whatever that not the topic)

I hope Roblox engineer will answer this “Bug Report” if that actually a bug or a rate limit feature that should be added to the documentation

6 Likes

As of recently, the badge API on the website has become dodgy, with the whole API going down 2-weeks ago. However this does not appear to be happening on a constant basis, but rather at certain times of the day, my assumption is that the rate-limits for the API were recently increased to combat this.

There always was a rate-limit, every web-api has one, it’s just now more noticeable. Roblox does not document rate-limits for anything other than DatastoreService, MemoryStoreService and OpenCloud.

5 Likes

If that is the case, then (in my opinion) the rate limit 100% needs a change, as it can break many games and there are no (efficient) solutions.

3 Likes

Are you running into UserHasBadgeAsync rate-limits? AwardBadge does not need a rate-limit increase since as of right-now the rate-limit appears to be perfect for any normal-game, an increase in the rate-limit will encourage abuse of the badge-awarding system by spamming possibly hundreds of unwanted badges into a player’s inventory without warning.

600 BADGES IN ONE SECOND!

ARE YOU SERIOUS?! No wonder this isn’t working! Roblox isn’t made to avard 600 badges at once!

1 Like