To Reproducepython3 post-ig.py posted/1.png "myusername" "mypassword" "good bye".(while waiting to run i am checking in the instagram app to allow new devices to log in and manually approve)
**Traceback**
Status 429: Too many requests
Ignore 429: Continue login
Photo Upload failed with the following response: <Response [400]>
Traceback (most recent call last):
File "/home/ubuntu/twitch-content/1805097782/audios/text-parts/post-ig.py", line 16, in <module>
post_image(image_path, username, password, caption)
File "/home/ubuntu/twitch-content/1805097782/audios/text-parts/post-ig.py", line 8, in post_image
cl.photo_upload(image_path, caption)
File "/home/ubuntu/.local/lib/python3.10/site-packages/instagrapi/mixins/photo.py", line 228, in photo_upload
upload_id, width, height = self.photo_rupload(path, upload_id)
File "/home/ubuntu/.local/lib/python3.10/site-packages/instagrapi/mixins/photo.py", line 190, in photo_rupload
raise PhotoNotUpload(response.text, response=response, **last_json)
instagrapi.exceptions.PhotoNotUpload: {"debug_info":{"retriable":false,"type":"ProcessingFailedError","message":"Request processing failed"}}
Expected behavior
upload a picture on instagram
Screenshots
Desktop (please complete the following information):
OS: ubuntu 22.04
Python version 3.10
instagrapi version 1.17.3 and 1.17.6
moveipy version if used
imagemagick version if used
Additional context
Add any other context about the problem here.
Describe the bug I am using this script to try to post a picture on instagram it worked on the past, the picture is 1024x1024 and 3.0MB
To Reproduce
python3 post-ig.py posted/1.png "myusername" "mypassword" "good bye".
(while waiting to run i am checking in the instagram app to allow new devices to log in and manually approve)Expected behavior upload a picture on instagram
Screenshots
Desktop (please complete the following information):
Additional context Add any other context about the problem here.