I can't upload photos
See original GitHub issueI am trying to post a photo using this library, but it doesn’t work…
from instapy_cli import client
username = '*************'
password = '****************'
image = 'img/blank.png'
text = 'This will be the caption of your photo.' + '\r\n' + 'You can also use hashtags! #hash #tag #now'
with client(username, password) as cli:
cli.upload(image, text)
and the error I get is:
Error parsing error response: Expecting value: line 1 column 1 (char 0)
Error is >>
Not Found
Something went bad.
Please retry or send an issue on https://github.com/b3nab/instapy-cli
Traceback (most recent call last):
File "d:\Documents\Python\spacexLaunchesIG\instagram.py", line 9, in <module>
cli.upload(image, text)
File "C:\Users\charl\AppData\Roaming\Python\Python39\site-packages\instapy_cli\cli.py", line 153, in upload
raise IOError("Unable to upload.")
OSError: Unable to upload.
any ideas how to fix this?
Issue Analytics
- State:
- Created 3 years ago
- Comments:9
Top Results From Across the Web
What is Wrong With a Computer When Your Pictures Won't ...
Many factors come into play when uploading photos to a website; the speed of your Internet connection, the size of the photo, the...
Read more >How To Fix “Google Photos Not Uploading” On Android ...
How To Fix “Google Photos Not Uploading” On Android & iPhone · 1. Diagnose your Internet Connection · 2. Ensure you're using the...
Read more >I can't upload photos on Facebook | Facebook Help Center
I can't upload photos on Facebook · Make sure that you have a strong Wi-Fi or network connection. · Try uploading the original...
Read more >How to Fix Google Photos Not Uploading - Alphr
Your photos might have stopped uploading to Google Photos because it needs to be updated. Follow these steps to make sure your app...
Read more >Solved! - Can't upload photos to a website - Tom's Guide Forum
Locate Chrome and tap it and then tap "Clear Cache ". Then restart the phone (turn it off and back on) and try...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
No idea. I just wanted to let you know guys, I finally got it working with the instabot module. Pretty straightforward.
Same problem here