Open rafaelgdn opened 2 years ago
For those who have the same problem, this error happens because the video is longer than 60 seconds. Although instagram accepts videos of up to 3 minutes, it seems that the API only accepts videos of up to 60 seconds.
And there are still other specifications that we need to follow to be able to post a video, follow: video specifications
Does anyone know a way to convert any video to the format that instagram accepts?
now every video i try to upload i got this error:
{
"errorMessage": "POST /api/v1/media/configure/?video=1 - 403 Forbidden; ",
"errorType": "IgConfigureVideoError",
"stackTrace": [
"IgConfigureVideoError: POST /api/v1/media/configure/?video=1 - 403 Forbidden; ",
" at PublishService.video (C:\\Users\\User\\Desktop\\dev\\Insta\\.webpack\\service\\src\\functions\\webpack:\\instagram-private-api\\dist\\services\\publish.service.js:123:1)",
" at C:\\Users\\User\\Desktop\\dev\\Insta\\.webpack\\service\\src\\functions\\webpack:\\src\\functions\\cronFreefireMemes.js:71:31",
" at async Promise.all (index 1)",
" at main (C:\\Users\\User\\Desktop\\dev\\Insta\\.webpack\\service\\src\\functions\\webpack:\\src\\functions\\cronFreefireMemes.js:47:5)"
]
}
Hello @rafaelgdn ,
I'm having a lot of checkpoint problems lately using this API. Maybe we can collaborate!
My gmail is danielpaixaodp2021@gmail.com
Did you have this kind of problem and fix it? Can you email me so we can try to talk about our objectives?
Hi.
Im trying to publish a video and i got this VideoSourceDurationCheckException error.
Anyone can help me with this?
my code:
When I get a file from s3, it comes in the following format. I'm taking the content of the body property and put it in the video property of the publish method. Is it right? I also tried to save the file with fs.writeFile and dps use readFileSync like in the example but it also gave the same error.
error:
video: video.mp4