Unexplainable error message

12:54:33.290 - GroupService:GetGroupsAsync() failed because mc
12:54:33.291 - Script 'ServerScriptService.MainModule', Line 85 - upvalue UpdateUserId
12:54:33.291 - Script 'ServerScriptService.MainModule', Line 151
12:54:33.291 - Stack End

Line 85 basicly doing GroupService:GetGroupsAsync(16872215) (I’ve checked)
(Checked manually later: errors for every valid ID. -1 still does “not a valid userId”)

Anyone know what “because mc” means? Currently “because why not” is as helpful.

1 Like

First of all, you need to wrap --Async calls in pcalls because they can throw a Lua exception, that’s by design.

I don’t know what the error means, I doubt it is anything meaningful that you could use to improve your script. The call works fine for me by the way, so just wrap it in a pcall and add proper handling for when the call fails.

I think it has something to do with studio in being offline mode.
(Not sure why only GetGroupsAsync cares about that, though)

Looks like this used to be an issue with MarketplaceService:GetProductInfo() as well according to this GitHub issue.

No specified information as to what “mc” means though. I’d just stick with what @buildthomas mentioned and wrap it with pcall.

Another inexplicable error is ContentProvider:Preload() failed for. failed for what!? not a big deal… just annoying to see it in console

failed because mc

Are you running this locally?

In studio yes.

This looks like you’ve messed with your roblox studio installation. E.g. have you added a certain file to do certain things?

Except plugins from the Library using the Install button? no

I can’t get it to happen again.