Recently, I have been making an Admin Panel on Roblox. I have moved on to the Ban feature, which I used BanAsync for. I got into testing, and then banned myself for a period of time. It was going well, until I banned myself when it didn’t actually say I was banned.
I tried asking a friend to run this command: game.Players:UnbanAsync({UserIds = {3405341348}, ApplyToUniverse = true}) (It didn’t work)
I have also tried to contact roblox support which I went through 13 captchas just for it to give me an error.
I just don’t know why I cannot unban myself, when I clearly am banned. Hopefully I didn’t confuse you.
Yeah I’m pretty new to CloudAPI. I ran this but I got this error: Error: { errors: [ { message: ‘’, code: 0 } ] } (I assume I did something wrong with the path part)
Yeah, there are a couple of issues in the code you provided:
It should be a patch request, not a post request
You shouldn’t be providing a path thing in the request - I suspect you were looking at the response example rather than the request example.
Not sure if this is actually applicable for you, but make sure the x-api-key thing actually includes the api key and not “blocked” (I assume you just redacted it for this post!)