-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[BUG] challenge_required with send_photo method #1363
Comments
The app gets an error. :( |
Hey @b177y, We did a quick check and this issue looks very darn similar to
This could be a coincidence, but if any of these issues solves your problem then I did a good job 😄 If not, the maintainers will get to this issue shortly. Cheers, |
Same issue here |
Same Issue:
|
Same! |
Example file
Describe the bug
Attempting to send image over dm using bot.send_photo([userid], filepath), it returns a 400 error and says challenge required.
Log
To Reproduce
Steps to reproduce the behavior:
import instabot
bot = instabot.Bot()
bot.login()
bot.send_photo(['IDNUM'], "FILEPATH")
Expected behavior
The jpg image at FILEPATH should be sent to the user with id of IDNUM
Additional context
I don't have 2fa so the challenge shouldn't be a 2fa challenge. Login is always successful.
Version
Python version (
python -v
): Python 3.8.1Operating Systeem: Win/Linux/MacOS: Manjaro Linux
The text was updated successfully, but these errors were encountered: