Badge isnt working in :GetBadgeInfoAsync() but is in :AwardBadge()

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    Im trying to detect when a player gets a badge
  2. What is the issue? Include screenshots / videos if possible!
    using :GetBadgeInfoAsync() keeps saying the badge ID is invalid yet the same ID works on :AwardBadge()
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    i have double and triple checked the numbers and it seems fine

if it matters, the Get badge is in Local and the Award badge is in server

--server, works
	game:GetService("BadgeService"):AwardBadge(player.UserId, numbers )
--client, doesnt work
       game:GetService("BadgeService"):GetBadgeInfoAsync(player.UserId, numbers )

Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.


i figured it our i was using the wrong function whoops