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

KeyError: x-csrf-token #1

Open
dark-modz opened this issue Aug 22, 2022 · 1 comment
Open

KeyError: x-csrf-token #1

dark-modz opened this issue Aug 22, 2022 · 1 comment

Comments

@dark-modz
Copy link

Unfortunately, the tool does not work, I get this error when the program is meant to start reporting.
It's a shame as it seems very well put together and the only tool of its kind currently to be very recently updated.

[>]Error: 'NoneType' object has no attribute 'attrs' [>] Continuing... Traceback (most recent call last): File "main.py", line 39, in <module> RB.report(victim, amount, reason, cooldown, reasonDescriptions[reason]) File "/home/runner/Roblox-Mass-Report/RBXBan.py", line 138, in report "x-csrf-token": Utils.getXCsrf(cookie), File "/home/runner/Roblox-Mass-Report/RBXBan.py", line 43, in getXCsrf return xcsrfRequest.headers["x-csrf-token"] File "/home/runner/Roblox-Mass-Report/venv/lib/python3.8/site-packages/requests/structures.py", line 52, in __getitem__ return self._store[key.lower()][1] KeyError: 'x-csrf-token'

@OriginalAlien
Copy link
Owner

prolly invalid cookie

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

2 participants