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

make_offer_with_url #397

Open
vladislavzorin opened this issue Jul 11, 2024 · 3 comments
Open

make_offer_with_url #397

vladislavzorin opened this issue Jul 11, 2024 · 3 comments

Comments

@vladislavzorin
Copy link

#Traceback (most recent call last):
  File "C:\Users\flesh\OneDrive\Рабочий стол\fermaMax\senderItems.py", line 109, in sendAllItems
    steam_client.make_offer_with_url(assets, [], trade)
  File "C:\Users\flesh\AppData\Local\Programs\Python\Python311\Lib\site-packages\steampy\utils.py", line 23, in func_wrapper
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\flesh\AppData\Local\Programs\Python\Python311\Lib\site-packages\steampy\client.py", line 397, in make_offer_with_url
    if response.get('needs_mobile_confirmation', False):
       ^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'

During handling of the above exception, another exception occurred:

In make_offer_with_url, _response = self.session.post(url, data=params, headers=headers).json() is None

@vladislavzorin
Copy link
Author

Response code 401

@Aarab228
Copy link

Aarab228 commented Aug 4, 2024

Response code 401

login first to do this

@Darkinvo
Copy link

Darkinvo commented Nov 3, 2024

i do login but i have this error

    if response.get('needs_mobile_confirmation', False):
       ^^^^^^^^^^^^ 
     AttributeError: 'NoneType' object has no attribute 'get'

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

3 participants