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

Response status when Accounts is banned or session Expired #142

Open
0xGhostCasper opened this issue Mar 13, 2024 · 2 comments
Open

Response status when Accounts is banned or session Expired #142

0xGhostCasper opened this issue Mar 13, 2024 · 2 comments

Comments

@0xGhostCasper
Copy link

Hi, @vladkens !

I thought it would be super useful to return some kind of Command or Query result objects from method calls with success status codes and error reasons instead of just returning None values in case of expired session or banned account, because right now we cannot spot and react to situations when account gets banned or session expires - we only see debug logs and that's it, this is not helping to manage application flow.

I believe this should be useful for others aswell, I believe I already saw such suggestion before here in issues section.

@sicholas
Copy link

#137 This is what was causing my scripts to never grab full following. Would hit a banned account and would just stop the gather function.

@sicholas
Copy link

Screenshot 2024-03-29 at 1 12 49 PM

Got it to work by editing the queue_client.py code, was truly never catching the banned 403 error. This implementation has it simply removes the account and places it in inactive status. Let me know if that helps! @0xGhostCasper

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