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

Json Not Sterlize #11

Open
BeastTrusted opened this issue May 28, 2024 · 1 comment
Open

Json Not Sterlize #11

BeastTrusted opened this issue May 28, 2024 · 1 comment

Comments

@BeastTrusted
Copy link

20:55:44 DBG » Scraping...
Traceback (most recent call last):
File "F:\Discord-MassDM-main\main.py", line 307, in
invite, users, tokens, messages = start()
File "F:\Discord-MassDM-main\main.py", line 244, in start
guild_id = Joiner(token, invite).JoinServer().get("id")
File "F:\Discord-MassDM-main\main.py", line 122, in JoinServer
response = self.client.post(
File "C:\Users\Toshiba\AppData\Local\Programs\Python\Python310\lib\site-packages\tls_client\sessions.py", line 485, in post
return self.execute_request(method="POST", url=url, data=data, json=json, **kwargs)
File "C:\Users\Toshiba\AppData\Local\Programs\Python\Python310\lib\site-packages\tls_client\sessions.py", line 328, in execute_request
json = dumps(json)
File "C:\Users\Toshiba\AppData\Local\Programs\Python\Python310\lib\json_init_.py", line 231, in dumps
return _default_encoder.encode(obj)
File "C:\Users\Toshiba\AppData\Local\Programs\Python\Python310\lib\json\encoder.py", line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
File "C:\Users\Toshiba\AppData\Local\Programs\Python\Python310\lib\json\encoder.py", line 257, in iterencode
return _iterencode(o, 0)
File "C:\Users\Toshiba\AppData\Local\Programs\Python\Python310\lib\json\encoder.py", line 179, in default
raise TypeError(f'Object of type {o.class.name} '
TypeError: Object of type DataObject is not JSON serializable

@BeastTrusted
Copy link
Author

This Is SHowing

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

1 participant