ping / instagram_private_api_extensions

An extension module to https://github.com/ping/instagram_private_api
MIT License
124 stars 26 forks source link

Error 'Server received incorrect upload id' #6

Closed mstrifonov closed 6 years ago

mstrifonov commented 6 years ago

Hi, friend. I want upload video in reel. But Instagram response: 'Server received incorrect upload id' My code: vid_data, vid_size, vid_duration, vid_thumbnail = media.prepare_video( 'pathto/my_video.mp4', aspect_ratios=MediaRatios.reel) api.post_video_story(vid_data, vid_size, vid_duration, vid_thumbnail) I look in Debug Mode. This code created vid_data, but instagram resronse error: "Forbidden" 'Server received incorrect upload id' json request: {"source_type":"4","upload_id":"1526767082638","story_media_creation_date":"1526767074","client_shared_at":"1526767084","client_timestamp":"1526767092","configure_mode":1,"device":{"manufacturer":"samsung","model":"SM-G930F","android_version":23,"android_release":"6.0.1"},"edits":{"crop_original_size":[612.0,816.0],"crop_center":[0.0,0.0],"crop_zoom":1.3333334},"extra":{"source_width":612,"source_height":816},"_csrftoken":"HIDDEN","_uuid":"HIDDEN","_uid":"HIDDEN"}

Can you help me, plz? P.S. I'm sorry, i translete "google translated".

ping commented 6 years ago

@mstrifonov

Your issue report does not conform to the issue template that has been specified for this repo: https://raw.githubusercontent.com/ping/instagram_private_api_extensions/master/.github/ISSUE_TEMPLATE.md

Please edit your issue to comply with the template requirement.

This issue will be closed after 24 hours if no followup action is taken.


[This comment is auto-generated. ref=notemplate]