Replies: 1 comment 1 reply
-
I use photos from instagram itself, download any photo from there and see the resolution @Aryan-401 Give me a link to the photo you upload |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Are there specific sizes that images have to be for it to upload? the size of images i am trying to upload is 1080 x 1080. Or is there something else i am doing wrong?
Here is the full traceback error:
Photo Upload failed with the following response: <Response [400]>
Traceback (most recent call last):
File "<input>", line 1, in <module> File "C:\Users\defaultuser100000\Google Meets Intagram\Uploading_Photo_to_Instagram.py", line 31, in upload_photo_to_instagram
cl.photo_upload(Path(image), caption)
File "C:\Users\Aryan Garg\PycharmProjects\Google Meets Intagram\venv\lib\site-packages\instagrapi\mixins\photo.py", line 192, in photo_upload
upload_id, width, height = self.photo_rupload(path, upload_id)
File "C:\Users\Aryan Garg\PycharmProjects\Google Meets Intagram\venv\lib\site-packages\instagrapi\mixins\photo.py", line 158, in photo_rupload raise PhotoNotUpload(response.text, response=response, **last_json)
instagrapi.exceptions.PhotoNotUpload: {"debug_info":{"retriable":false,"type":"ProcessingFailedError","message":"Request processing failed"}}
Upload code:
def upload_photo_to_instagram(image: Path, caption: str):
cl.photo_upload(Path(image), caption)
Update: Tried with a bunch of dimensions, still doesn't work
Beta Was this translation helpful? Give feedback.
All reactions