instapy-cli icon indicating copy to clipboard operation
instapy-cli copied to clipboard

[BUG] OSError: Unable to upload.

Open hamdyaea opened this issue 5 years ago • 30 comments

[IG] not found cookie/cookie_file >> login as default Error parsing error response: Expecting value: line 1 column 1 (char 0) Error is >> Bad Request

Something went bad. Please retry or send an issue on https://github.com/b3nab/instapy-cli

Traceback (most recent call last): File "/usr/bin/instapy", line 10, in sys.exit(main()) File "/usr/lib/python3.8/site-packages/instapy_cli/main.py", line 44, in main cli.upload(options.file, text, story) File "/usr/lib/python3.8/site-packages/instapy_cli/cli.py", line 153, in upload raise IOError("Unable to upload.") OSError: Unable to upload.

hamdyaea avatar Dec 23 '19 18:12 hamdyaea

Hey @hamdyaea,

We did a quick check and this issue looks very darn similar to

  • #83 - [BUG] No handlers could be found for logger "instagram_private_api.errors"
  • #82 - Downloading Media.. No handlers could be found for logger "instagram_private_api.errors"
  • #79 - [BUG] Upload not working

This could be a coincidence, but if any of these issues solves your problem then I did a good job :smile:

If not, the maintainers will get to this issue shortly.

Cheers, Your Friendly Neighborhood ProBot

duplicate-issues[bot] avatar Dec 23 '19 18:12 duplicate-issues[bot]

Same problem.

[IG] not found cookie/cookie_file >> login as default
Error parsing error response: Expecting value: line 1 column 1 (char 0)
Error is >>
    Bad Request

Something went bad.
Please retry or send an issue on https://github.com/b3nab/instapy-cli

Traceback (most recent call last):
  File "main.py", line 35, in <module>
    featureMenu()
  File "main.py", line 13, in featureMenu
    menu("1")
  File "main.py", line 32, in menu
    post(img_path, desc, hashtags)
  File "/home/titan/Documents/Instagram/autobot/modules/post.py", line 8, in post
    cli.upload(img_path, desc)
  File "/home/titan/.local/lib/python3.6/site-packages/instapy_cli/cli.py", line 153, in upload
    raise IOError("Unable to upload.")
OSError: Unable to upload.

Python version 3.6.9

Anyone found a fix?

Michael1095 avatar Dec 26 '19 22:12 Michael1095

Same..

mcpeixoto avatar Dec 27 '19 21:12 mcpeixoto

Same. Python version 3.8

MobKill3r2006 avatar Dec 28 '19 18:12 MobKill3r2006

Same here. Python 3.7

trocotronic avatar Jan 03 '20 00:01 trocotronic

any news?

pauapaua avatar Jan 03 '20 16:01 pauapaua

I think we're fucked since Instagram is killing the API

Cumprimentos, Miguel Peixoto

pauapaua [email protected] escreveu no dia sexta, 3/01/2020 à(s) 16:49:

any news?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/instagrambot/instapy-cli/issues/84?email_source=notifications&email_token=AHJWXRTIMTPGBUJYFIDDVL3Q35UARA5CNFSM4J6XCAEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIBRYDI#issuecomment-570629133, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHJWXRQSGHTHCKKHFHMLRZ3Q35UARANCNFSM4J6XCAEA .

mcpeixoto avatar Jan 03 '20 22:01 mcpeixoto

I think it is a no go since Instagram is now punishing people for automated tasks they pick up.

petelah avatar Jan 08 '20 23:01 petelah

even the example doesn't work, i guess IG has nuked whatever support there was for this...

viatekh avatar Jan 14 '20 14:01 viatekh

I have same problem. Looks like IG delete their API, so anyone who want to post must open IG Apps.

exblopz avatar Feb 11 '20 08:02 exblopz

same problem! this was working for this guy like half a year ago https://www.youtube.com/watch?v=vnfhv1E1dU4

ChadLei avatar Feb 11 '20 23:02 ChadLei

Same problem as of this day.

SartoRiccardo avatar Mar 07 '20 21:03 SartoRiccardo

Same here.

vadgaard avatar Mar 15 '20 11:03 vadgaard

same here

amitmittal117 avatar Mar 25 '20 10:03 amitmittal117

still struggling to post a single photo on instagram why does it sucks so much telegram has the best social media api i have ever used and this zuckerberg make it hard for developers

abhayvishnoi avatar Mar 29 '20 23:03 abhayvishnoi

same here :(

netlob avatar Apr 20 '20 14:04 netlob

Same problem. Python 3.8

rhotav avatar Apr 21 '20 12:04 rhotav

same here..anyone found a solution please notify ]

atharvjairath avatar May 02 '20 12:05 atharvjairath

Same problem here...

xandrade avatar May 09 '20 17:05 xandrade

Facing the same issue

ParthMaisheri avatar May 15 '20 14:05 ParthMaisheri

same :)

bahaasamoudi avatar May 18 '20 10:05 bahaasamoudi

same here

Hemzyy avatar May 19 '20 17:05 Hemzyy

same error, anybody with solutions?

atharvakadlag avatar May 21 '20 15:05 atharvakadlag

same , damn

Revisto avatar Jun 20 '20 21:06 Revisto

so no fix for this?

ade5791 avatar Jun 20 '20 23:06 ade5791

same error.===> raise IOError("Unable to upload.")

sjaydeep avatar Nov 25 '20 07:11 sjaydeep

same error with stories...any solutions?

1smaa avatar Jan 07 '21 14:01 1smaa

Nope, I didn't find the solution

El jue., 7 ene. 2021 15:52, 1smaa [email protected] escribió:

same error with stories...any solutions?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/instagrambot/instapy-cli/issues/84#issuecomment-756163831, or unsubscribe https://github.com/notifications/unsubscribe-auth/AODOEULGCRV3SH7HXRAJOP3SYXDD3ANCNFSM4J6XCAEA .

Tatuck avatar Jan 07 '21 14:01 Tatuck

Facebook already close API for Facebook and Instagram. Also change their Policies. So if you wanna use API for Facebook and Instagram, you should contact them directly.

exblopz avatar Jan 10 '21 06:01 exblopz

Still no solution, at least I haven't found one yet. Getting error:

Error is >>
    Not Found

Followed by:

raise IOError("Unable to upload.")
OSError: Unable to upload.

MulaTheRadish avatar Jan 21 '23 08:01 MulaTheRadish