Code/Script? We can’t know the problem when the problem isn’t being shown.
Yeah, show us the section of the code which has the error. Then we can determine the problem easier.
Oh you have not yet enabled the HTTP Request. thats the problem
On the HTTP Request to access the group website.
Like I said I am just doing print(plr:GetRankInGroup(groupID))
This is a weird thing, I do not believe you need HTTPS for :GetRankInGroup
There has been some reported issues in the post below!
Look at this post for more info.
It’s the HTTP request, It’s not yet on to get the website data. if not then, the script need to be inspected.
Oh I thought you didnt needed Https Service enabled. I try it and mark it as a solution if it works.
try that. if it doesnt work, the code needs inspection.
Nope, nothing changed.
The error is still occurring.
@uD0ge yeah but that is some ssl error and I am having curl 52 error where the server is not returning anything. I think maybe the roblox servers are down but this has been happening since 3 days.
What are you exactly trying to do.
Just getting the rank of the local player.
print(game:GetService("Players").LocalPlayer:GetRankInGroup(5723082))
I think there could possibly be some issues with Roblox on this.
No idea what is happening at the moment. I tried it and it just gives me an error on :GetRankInGroup
You should wrap API calls inside of a pcall and retry if it fails. There are multiple occasions where I get similar errors and it takes a while to finally load their rank. As uD0ge stated, there is already a bug report about these errors.
Example Code
local Players = game:GetService("Players")
local Player = Players.LocalPlayer
local function GetRankInGroup(GroupId)
local Success, Error, Data;
Success, Error = pcall(function()
Data = Player:GetRankInGroup(GroupId)
end)
if Error or not Data then
print("Failed to get rank", Error)
wait(1)
return GetRankInGroup(GroupId)
end
return Data
end
GetRankInGroup uses roblox api, so you don’t need httpenabled
The only way you would need it is if you’re using HttpService
I have been having this issue as well recently out of the blue.
All of a sudden, certain team tools, that work based off a group ID, have stopped working even though no changes have been made to the script at all. What’s interesting is, other team tools that uses the same script with different group ID’s are still working and seem to not be affected at all. I have tried to find a solution to this issue and it seems nothing works. The only report that comes out of the Developer Console is this error and nothing else so I assume it has nothing to do with the script or the tools themselves being that other tools are working.
@RedDevED
That’s not true at all, you do not need HttpService enabled to get the rank of a user with GetRankInGroup
.
@Cristiano100
That’s very true, although, you cannot contact Roblox’s own servers with HttpService without a proxy. I believe they do this to prevent themselves from getting attacked by their own servers.
@FastAsFlash_Dev
Sometimes, Roblox’s API are down, so when making such requests, wrap them in pcall
or xpcall
(depending on how you want to handle errors). There’s not much you can do when services are down, unfortunately.
im not talking about httpservice… getrankingroup uses roblox api, it’s a built in feature, its something that is allowed to contact groups.roblox.com this is why i said you dont need httpservice enabled,
Absolutely right.
You said:
The only way you would need it is if you’re using HttpService
To which I say: you cannot contact Roblox’s own servers with HttpService without a proxy. I believe they do this to prevent themselves from getting attacked by their own servers.
Hence why I said that. ^^^
Also, please don’t call me a fool, I consider it quite insulting and unnecessary.