"User is not authorized to access asset." error when running InsertService:LoadAsset() even though the group owner is added as a collaborator

Hello, everyone! I’m a Roblox scripter and the founder of Nosploit, a tech group that specialises in smart mod systems. I recently found my very first client who’s willing to let me test my scripts in the field, but we quickly encountered a problem - the main assets won’t load in the first place.

The game the assets are being loaded into is owned by a group, which is owned by a user I granted the “Use” permission to. Despite that, below is the error displayed by the loader script that’s running the LoadAsset() command. (I won’t share the asset ID here because I don’t want people stealing the licensed code, so hopefully it won’t be important for the solution.)

[NOSPLOIT] :police_car_light: Asset loading failed. Is Allow Loading Third Party Assets enabled? Nosploit is disabled. Response: User is not authorized to access Asset.

Asset hierarchy:

As you can see, the ModuleScript, labelled MainModule, is the root of the asset, and it is saved under Roblox as a Model. I’ve already tried switching to require(), which proceeded to print out this error:

[NOSPLOIT] :police_car_light: Asset loading failed. Is Allow Loading Third Party Assets enabled? Nosploit is disabled. Response: Downloading asset failed for asset id (ASSET ID HERE). Is the asset id correct and is the asset type “Model”?

I’ve tried many different things, and I can’t, for the love of me, figure out what else to do. I can’t grant the group ownership because of a stupid bug that prevents Roblox from saving permissions on groups. I’m sorry if this seems like a really dumb, easy-to-fix issue, as I’m something of a beginner who wants to gain experience and learn on the go. Does anyone have any ideas? Thanks!

2 Likes

What if you give the group permission to use the asset?

1 Like

1 Like

Sorry I read that wrong.

I read the docs and it said:

Docs

1 Like

I see what you mean and understand it, but I tried that solution already and discovered that I would need the “Edit” permission on every single experience that I’m adding that permission to. And while that would, in theory, be easily possible, I don’t think clients would be very happy to give me “full” access to their entire gameset, even if for a short moment, so I fear that this would deter many people who would otherwise be interested in purchasing licenses. Do you think there’s any other way to solve this?

1 Like

Have you tried to use AssetService alternative instead?

LoadService method is kinda depracated, no?

1 Like

Just give them the model that you are requiring directly. If you really don’t want them looking into the code then Obfuscate it. Or just sell it on the Roblox Marketplace.

1 Like

Thanks for the tip; I wasn’t aware that that function existed. Will remember it when I’m loading assets in the future. Still the same error, though. :frowning:

It’s because collaborator is Group Owner or if it is his asset, you do not have permission to use it. You can ask group owner (collaborator) to give you permission to use their asset.

Since it sadly doesn’t seem that there’s any better option, I simply decided that I’ll alert clients that I’ll have to temporarily get dev perms on their group. Luckily, I already have one or two affiliates secured, so it may not be as much of a problem. Thank you to everyone for helping, and I hope to see you again soon!

(Preferably at license purchase, hehehehe. ;3)

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.