Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IgResponseError: POST /api/v1/media/configure/?video=1 - 400 Bad Request #1801

Open
ManhTung64 opened this issue Oct 13, 2024 · 1 comment
Open
Labels
bug unconfirmed This issue hasn't been read/confirmed/accepted by an admin

Comments

@ManhTung64
Copy link

Bug Report

Error upload video: publish.video() function

Error message

gResponseError: POST /api/v1/media/configure/?video=1 - 400 Bad Request; Uploaded image asset creation failed
at Request.handleResponseError (C:\electron-p\vitech\MKT_INSTA_NODEJS\node_modules\instagram-private-api\dist\core\request.js:126:16)
at Request.send (C:\electron-p\vitech\MKT_INSTA_NODEJS\node_modules\instagram-private-api\dist\core\request.js:54:28)
at async MediaRepository.configureVideo (C:\electron-p\vitech\MKT_INSTA_NODEJS\node_modules\instagram-private-api\dist\repositories\media.repository.js:252:26)
at async PublishService.video (C:\electron-p\vitech\MKT_INSTA_NODEJS\node_modules\instagram-private-api\dist\services\publish.service.js:117:24)

My code

Same example code upload video

Option upload before call api

{
upload_id: '1728845063290',
caption: '',
length: 6.341,
width: 12909,
height: 28724,
clips: [ [Object] ],
_csrftoken: 'dOSfSd1uXIjBh3xrQiDNkXgBVfWs6owS',
_uid: '62238581296',
_uuid: '2f7d3669-2a6b-5448-8063-8e66690c862b',
device: {
android_version: '25',
android_release: '7.1.1',
manufacturer: ' Xiaomi',
model: ' MI MAX 2'
},
extra: { source_width: 12909, source_height: 28724 },
timezone_offset: '25200',
date_time_original: '2024:44:14 01:44:32',
source_type: '4',
device_id: 'android-804be6cacea6f292',
filter_type: '0',
audio_muted: false,
poster_frame_index: 0
}

@ManhTung64 ManhTung64 added bug unconfirmed This issue hasn't been read/confirmed/accepted by an admin labels Oct 13, 2024
@ManhTung64
Copy link
Author

I think there is something wrong with the api /api/v1/media/configure/?video=1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug unconfirmed This issue hasn't been read/confirmed/accepted by an admin
Projects
None yet
Development

No branches or pull requests

1 participant