Issue with my group rank bot

Unhandled rejection Error: There are two or more roles with the rank undefined. You must specify the role name.

Which line is this error coming from?

[aspoidjqsipjsaisaijsiappisajpassasa, roblox has a bad moderation system]

Error: Screenshot by Lightshot

I believe this is a bug on the creator’s side, hence - I’ll be closing this project and perhaps make my own in the future.

well this will try format the response
replace with

HttpService:GetAsync(('%s%d%d'):format(GlitchURL, UserId, Rank))

Same code, doesn’t matter.
I still get the same error.

[wernioweniweirinpwepiewipewipewew]

What does your Glitch server log on UserId and Rank when it gets the data from Roblox? Maybe you’re getting the data correctly but you need to send the RoleId of your rank(s) instead of the rank name in your group if noblox uses the API I showed you earlier directly without any RoleId to rank name conversion.