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 - request giving 401 even after a login #411

Open
TomasPodivinskyCoding opened this issue Nov 2, 2024 · 1 comment
Open

Make offer - request giving 401 even after a login #411

TomasPodivinskyCoding opened this issue Nov 2, 2024 · 1 comment

Comments

@TomasPodivinskyCoding
Copy link

I have a problem where even after successfully logging in I can't make an offer as the response returns 401.

File "/home/tomas/programming/personal/tf2trader/tf2_trade_offers/management/commands/send_offer.py", line 35, in handle
    steam_client.make_offer(
  File "/home/tomas/programming/personal/tf2trader/.venv/lib/python3.11/site-packages/steampy/utils.py", line 23, in func_wrapper
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tomas/programming/personal/tf2trader/.venv/lib/python3.11/site-packages/steampy/client.py", line 323, in make_offer
    if response.get('needs_mobile_confirmation'):
       ^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'

I have been stuck at this problem for a long time and have no idea how to fix it.
I 100% supply the correct credentials and steamguard path to the login function.

@Darkinvo
Copy link

Darkinvo commented Nov 3, 2024

yeah me too have this problem ...

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