send video album
See original GitHub issueWhen I send Photo album the method is working fine, but when I send video album I get this error
"error": { "message": "POST /rupload_igphoto/1585821695762_0_8619951189 - 400 Bad Request; ", "name": "IgResponseError", "status": 500, "frames": [ { "file": "node_modules/instagram-private-api/dist/core/request.js", "filePath": "/node_modules/instagram-private-api/dist/core/request.js", "method": "Request.handleResponseError", "line": 124, "column": 16, "context": { "start": 119, "pre": " return new errors_1.IgSentryBlockError(response);\n }\n if (json.error_type === 'inactive user') {\n return new errors_1.IgInactiveUserError(response);\n }", "line": " return new errors_1.IgResponseError(response);", "post": " }\n async faultTolerantRequest(options) {\n try {\n return await attempt_1.retry(async () => request(options), this.attemptOptions);\n }" }, "isModule": true, "isNative": false, "isApp": false },
Parameters
{ video: <Buffer 00 00 00 20 66 74 79 70 69 73 6f 6d 00 00 02 00 69 73 6f 6d 69 73 6f 32 61 76 63 31 6d 70 34 31 00 00 ec 17 6d 6f 6f 76 00 00 00 6c 6d 76 68 64 00 00 ... 4739212 more bytes>, coverImage: <Buffer 00 00 00 20 66 74 79 70 69 73 6f 6d 00 00 02 00 69 73 6f 6d 69 73 6f 32 61 76 63 31 6d 70 34 31 00 00 ec 17 6d 6f 6f 76 00 00 00 6c 6d 76 68 64 00 00 ... 4739212 more bytes>, uploadId: '1585821684804' }, { video: <Buffer 00 00 00 20 66 74 79 70 69 73 6f 6d 00 00 02 00 69 73 6f 6d 69 73 6f 32 61 76 63 31 6d 70 34 31 00 02 dd a1 6d 6f 6f 76 00 00 00 6c 6d 76 68 64 00 00 ... 11634666 more bytes>, coverImage: <Buffer 00 00 00 20 66 74 79 70 69 73 6f 6d 00 00 02 00 69 73 6f 6d 69 73 6f 32 61 76 63 31 6d 70 34 31 00 02 dd a1 6d 6f 6f 76 00 00 00 6c 6d 76 68 64 00 00 ... 11634666 more bytes>, uploadId: '1585821686198' } ]
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top GitHub Comments
Thank you
Problem is solved, The Problem is form Videos Size
I’d guess your images aren’t in the right format (aspect ratio). Else there’s also #972