Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] uploadItem not working + response wont show item type id #745

Closed
0944-tw opened this issue Aug 18, 2023 · 3 comments
Closed

[BUG] uploadItem not working + response wont show item type id #745

0944-tw opened this issue Aug 18, 2023 · 3 comments

Comments

@0944-tw
Copy link

0944-tw commented Aug 18, 2023

Describe the bug
Using uploadItem wont show real item id and didnt throw any error.
and the item didnt got uploaded
To Reproduce
this is part of code

var assetPath = req.body
            console.log(req.body)
            var path = assetPath.replace("rbxasset://", studioPath.mac); //Applications/RobloxStudio.app/Contents/Resources/Content/source/garrysmod/maps/gm_construct/amesh.mesh
            var name = path.split("/")[path.split("/").length - 1]  // File Name
            var result = await noblox.uploadItem(name,4,fs.createReadStream(path));
            console.log(result) // its 4
            res.send(result.id) // 4
            console.log("Uploaded")
@scandaloux
Copy link

Having same issue. Currently have to use API to get the item, really don't like it.

@sewshee
Copy link

sewshee commented Nov 10, 2023

https://www.roblox.com/build/upload now redirects to https://create.roblox.com/dashboard/creations?activeTab=Place

seems like they've removed the legacy uploading api, waiting for a fix.

function uploadItem (jar, file, name, assetType, groupId) {

@Neztore
Copy link
Member

Neztore commented Jan 6, 2024

Same as #681

@Neztore Neztore closed this as not planned Won't fix, can't repro, duplicate, stale Jan 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants