Publishing all places of a universe after package mass-update

Someone had the same thing here: Publishing all places of a universe after package mass-update - #13 by homermafia1

Basically, it happens when you try publishing a place that is the same as the latest version and that this version is published already.
So make sure you used the “Update all” feature of packages before running the script, otherwise, no changes will be present so the version number won’t change.

1 Like

Interesting, thank you!
“but it seems like that only applies the changes once you actually open the places. Thanks for the help!” To quote that person, I wish roblox made this not the case however.

1 Like

It works and publishes the places but I see no changes ingame and I still have to manually go to every place and publish it again in order to see changes

1 Like

Are you sure you used the “Update all” feature of the package beofre, in order to update all occurences of your package in all your places of your universe ? This step will save all your places with the updated package, and then run the script to published the saved place.

1 Like

Oh that was the issue, now it works perfectly fine. Thank you!

I am getting this following error:


published {"code":"Unauthorized","message":"API Key has insufficient scopes."}

Make sure your API key is configured correctly:

and

1 Like

I’m trying to use it again after getting back from a holiday now I’m getting this error.

File “work.py”, line 12, in
version = int(place_data.history[0].headers[“roblox-assetversionnumber”])
IndexError: list index out of range

any help would be greatly appreciated

NVM I FIXED IT

1 Like

I tried running “pip install requests” in my terminal but it just keeps saying “zsh: command not found: pip”.

Make sure you checked the “Add Python to environment variable” box during the installation (see the screenshot in the original post).
If you haven’t, you can run the installation wizard again and check the box.

oh i didnt get that box unfortunately

If for some reason you did not have that option during the installation, you will need to manually add the path to python’s bin folder to your operating system’s PATH. The steps to do this depend on your operating system. Below is a link that explains how to do it on Windows, Mac and Linux: How to Add Python to PATH on Windows, Linux, and Mac

Once you have done this, make sure you close all running terminals and open them again.

I hope this helps !


The API key is enabled and has every necessary permission set. I am calling it on the correct IP address, have tried re-enabling and regenerating the key, and I still get the same error.

I feel like I’m going insane.

The generated API key can only be seen and copied once. After that, the API key will be truncated on the creator dashboard.
Make sure you copy the full API key as soon as you have generated it.
I hope this helps !

what did you do? Im getting this error now and IDK why. i ran this before

EDIT: I fixed it, I had pasted my cookie in wrong.
basically, in the cookie listing, there are extra characters like underscores and lines. make sure you’re not getting those extra characters.

in my case it was
COOKIES = {".ROBLOSECURITY": "_E041C4F59A6EB5...
when it should have been
COOKIES = {".ROBLOSECURITY": "E041C4F59A6EB5...

edit2:


would be nice if it would actually update the place though :confused:

For the version not changing, refer to my answer here: Publishing all places of a universe after package mass-update - #21 by homermafia1

I actually just got an answer to this during RDC.

apparently, packages don’t update in the place file until you open them in studio.

edit: wait, wrong thing. but i did get some insight from the RDC peeps on this whole thing. maybe this script will no longer be needed.

uhhh i don’t see the “Place Management” in the api system select

The API key permission for place publishing is “universe-places:write”. Place Management just refers to how Roblox called the place publishing API.

2 Likes