efenatuyo / xool

a good and fast clothing bot made for groups which steals and upload assets
32 stars 2 forks source link

not uploading #8

Closed vexity222 closed 2 weeks ago

vexity222 commented 2 weeks ago

will not upload clothing, only downloads, here is the error for the upload

and my cookie is valid

ERROR: Traceback (most recent call last): File "C:\Users\cotta\Desktop\xool-main\main.py", line 26, in upload item_uploaded = src.upload.create_asset(item["name"], path, "shirt" if current_type == "classicshirts" else "pants", cookie, group_id, self.config["description"], 5, 5) File "C:\Users\cotta\Desktop\xool-main\src\upload__init__.py", line 30, in create_asset data = requests.get(f"https://apis.roblox.com/assets/user-auth/v1/operations/{dd['operationId']}", headers={'X-CSRF-TOKEN': cookie.x_token()}, cookies={".ROBLOSECURITY": cookie.cookie}) KeyError: 'operationId'

efenatuyo commented 2 weeks ago

Insufficient permission to the group

vexity222 commented 2 weeks ago

its an issue with the api, the cookie has sufficient permissions for the group

efenatuyo commented 2 weeks ago

Pretty sure everyone that had this kind of problem didn’t set up the group or the permissions up right

vexity222 commented 2 weeks ago

i used this bot perfectly before the api update, and after the fix it broke

vexity222 commented 1 week ago

help???

efenatuyo commented 1 week ago

try it now

vexity222 commented 6 days ago

still doesnt work

vexity222 commented 6 days ago

Traceback (most recent call last): File "C:\Users\user\Desktop\xool-main1\main.py", line 53, in xool(json.loads(open("config.json", "r").read())) File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\json__init__.py", line 346, in loads return _default_decoder.decode(s) File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 4 column 34 (char 73)

this is the error now

vexity222 commented 6 days ago

fixed it myself, thanks anyways

efenatuyo commented 5 days ago

just saw this issue. if you ever get errors like that it a issue on your config (you filling it out not in the right format)