Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1 <Response [401]>
- 2 {"errors":[{"code":0,"message":"Unauthorized"}]}
- 3 {'content-length': '48', 'content-type': 'application/json', 'date': 'Tue, 31 Oct 2023 19:02:50 GMT', 'server': 'Kestrel', 'cache-control': 'no-cache', 'strict-transport-security': 'max-age=3600', 'x-frame-options': 'SAMEORIGIN', 'roblox-machine-id': 'c384f9f0a8a1', 'x-roblox-region': 'us-central', 'x-roblox-edge': 'lhr2', 'report-to': '{"group":"network-errors","max_age":604800,"endpoints":[{"url":"https://ncs.roblox.com/upload"}]}', 'nel': '{"report_to":"network-errors","max_age":604800,"success_fraction":0.001,"failure_fraction":1}'}
- [2023-10-31 19:02:50] [ERROR ] discord.app_commands.tree: Ignoring exception in command 'hire'
- Traceback (most recent call last):
- File "D:\xProgram Files\Python\lib\site-packages\discord\app_commands\commands.py", line 842, in _do_call
- return await self._callback(interaction, **params) # type: ignore
- File "D:\nUSA\PDS\Bot\Bot.py", line 304, in hire
- el = requests.post(f"https://groups.roblox.com/v1/groups/16367093/join-requests/users/{userid}", cookies={".ROBLOSECURITY": rosec}, headers={"x-csrf-token": el.headers["x-csrf-token"]})
- File "D:\xProgram Files\Python\lib\site-packages\requests\structures.py", line 52, in __getitem__
- return self._store[key.lower()][1]
- KeyError: 'x-csrf-token'
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "D:\xProgram Files\Python\lib\site-packages\discord\app_commands\tree.py", line 1248, in _call
- await command._invoke_with_namespace(interaction, namespace)
- File "D:\xProgram Files\Python\lib\site-packages\discord\app_commands\commands.py", line 867, in _invoke_with_namespace
- return await self._do_call(interaction, transformed_values)
- File "D:\xProgram Files\Python\lib\site-packages\discord\app_commands\commands.py", line 860, in _do_call
- raise CommandInvokeError(self, e) from e
- discord.app_commands.errors.CommandInvokeError: Command 'hire' raised an exception: KeyError: 'x-csrf-token'
Advertisement
Add Comment
Please, Sign In to add comment