Replies: 3 comments 2 replies
-
Looks like you need to re-authorize |
Beta Was this translation helpful? Give feedback.
1 reply
-
https://adw0rd.github.io/instagrapi/usage-guide/interactions.html |
Beta Was this translation helpful? Give feedback.
1 reply
-
Still getting the same error :( VS Code says it's in this line in the "photo_upload()" function: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Photo Upload failed with the following response: <Response [412]> Traceback (most recent call last): File "c:\Users\dacos\Documents\Programming\Python\Instagram\Script.py", line 19, in <module> session.photo_upload_to_story(path="5441.jpg",upload_id="upload_second",caption="lol") File "C:\Users\dacos\AppData\Local\Programs\Python\Python311\Lib\site-packages\instagrapi\mixins\photo.py", line 358, in photo_upload_to_story upload_id, width, height = self.photo_rupload(path, upload_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\dacos\AppData\Local\Programs\Python\Python311\Lib\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":true,"type":"AuthorizationFailedError","message":"A temporary failure has occurred. Please try again."}}**
This is the error i receive when trying to upload photo to story happens with this code
session.photo_upload_to_story(path="5441.jpg",upload_id="upload_second",caption="lol")
and also this line too
session.photo_upload(path="5441.jpg",caption="First upload :)",location="Behind you",upload_id="upload_first_one",usertags=['messi', 'ksi','nike'])
Beta Was this translation helpful? Give feedback.
All reactions