igdm-cli icon indicating copy to clipboard operation
igdm-cli copied to clipboard

Can't login because of "page not found" error

Open ttorios opened this issue 5 years ago • 0 comments

Hi I was trying to login with igdm-cli on macbook bash but it failed with page not found error as the following even if I typed the valid id and password and I did login properly with igdm osx tool using same id/pw. please take a look the below error message. , for your reference : I use npm 6.4.1 and installed as "npm i -g igdm-cli" which is igdm-cli v0.5.3.

? Instagram Username: ttorios ? Instagram password: [hidden] ⠏ Logging in as ttorios{ [NotFoundError: Page wasn't found!] name: 'NotFoundError', message: 'Page wasn't found!', response: IncomingMessage { _readableState: ReadableState { objectMode: false, highWaterMark: 16384, buffer: BufferList { head: null, tail: null, length: 0 }, length: 0, pipes: null, pipesCount: 0, flowing: true, ended: true, endEmitted: true, reading: false, sync: false, needReadable: false, emittedReadable: false, readableListening: false, resumeScheduled: false, emitClose: true, destroyed: false, defaultEncoding: 'utf8', awaitDrain: 0, readingMore: false, decoder: null, encoding: null }, readable: false, _events: [Object: null prototype] { end: [Array], close: [Array], data: [Function], error: [Function] }, _eventsCount: 4, _maxListeners: undefined, socket: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, _SNICallback: null, servername: 'i.instagram.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object], _eventsCount: 7, connecting: false, _hadError: false, _handle: null, _parent: null, _host: 'i.instagram.com', _readableState: [ReadableState], readable: false, _maxListeners: undefined, _writableState: [WritableState], writable: false, allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: null, _requestCert: true, _rejectUnauthorized: false, parser: null, _httpMessage: [ClientRequest], [Symbol(res)]: [TLSWrap], [Symbol(asyncId)]: 350, [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBytesRead)]: 23117, [Symbol(kBytesWritten)]: 644, [Symbol(connect-options)]: [Object] }, connection: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, _SNICallback: null, servername: 'i.instagram.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object], _eventsCount: 7, connecting: false, _hadError: false, _handle: null, _parent: null, _host: 'i.instagram.com', _readableState: [ReadableState], readable: false, _maxListeners: undefined, _writableState: [WritableState], writable: false, allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: null, _requestCert: true, _rejectUnauthorized: false, parser: null, _httpMessage: [ClientRequest], [Symbol(res)]: [TLSWrap], [Symbol(asyncId)]: 350, [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBytesRead)]: 23117, [Symbol(kBytesWritten)]: 644, [Symbol(connect-options)]: [Object] }, httpVersionMajor: 1, httpVersionMinor: 1, httpVersion: '1.1', complete: true, headers: { 'content-type': 'text/html; charset=utf-8', vary: 'Accept-Language, Cookie', 'content-language': 'en', date: 'Tue, 21 May 2019 11:43:22 GMT', 'strict-transport-security': 'max-age=31536000', 'cache-control': 'private, no-cache, no-store, must-revalidate', pragma: 'no-cache', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-frame-options': 'SAMEORIGIN', 'content-security-policy': 'report-uri https://www.instagram.com/security/csp_report/; default-src 'self' https://www.instagram.com; img-src https: data: blob:; font-src https: data:; media-src 'self' blob: https://www.instagram.com https://.cdninstagram.com https://.fbcdn.net; manifest-src 'self' https://www.instagram.com; script-src 'self' https://instagram.com https://www.instagram.com https://.www.instagram.com https://.cdninstagram.com wss://www.instagram.com https://.facebook.com https://.fbcdn.net https://.facebook.net 'unsafe-inline' 'unsafe-eval' blob:; style-src 'self' https://.www.instagram.com https://www.instagram.com 'unsafe-inline'; connect-src 'self' https://instagram.com https://www.instagram.com https://.www.instagram.com https://graph.instagram.com https://.graph.instagram.com https://.cdninstagram.com https://api.instagram.com wss://www.instagram.com wss://edge-chat.instagram.com https://.facebook.com https://.fbcdn.net https://.facebook.net chrome-extension://boadgeojelhgndaghljhdicfkmllpafd blob:; worker-src 'self' blob: https://www.instagram.com; frame-src 'self' https://instagram.com https://www.instagram.com https://staticxx.facebook.com https://www.facebook.com https://web.facebook.com https://connect.facebook.net https://m.facebook.com; object-src 'none'; upgrade-insecure-requests', 'x-content-type-options': 'nosniff', 'x-xss-protection': '0', 'x-aed': '1', 'set-cookie': [Array], connection: 'close', 'content-length': '21119' }, rawHeaders: [ 'Content-Type', 'text/html; charset=utf-8', 'Vary', 'Accept-Language, Cookie', 'Content-Language', 'en', 'Date', 'Tue, 21 May 2019 11:43:22 GMT', 'Strict-Transport-Security', 'max-age=31536000', 'Cache-Control', 'private, no-cache, no-store, must-revalidate', 'Pragma', 'no-cache', 'Expires', 'Sat, 01 Jan 2000 00:00:00 GMT', 'X-Frame-Options', 'SAMEORIGIN', 'content-security-policy', 'report-uri https://www.instagram.com/security/csp_report/; default-src 'self' https://www.instagram.com; img-src https: data: blob:; font-src https: data:; media-src 'self' blob: https://www.instagram.com https://.cdninstagram.com https://.fbcdn.net; manifest-src 'self' https://www.instagram.com; script-src 'self' https://instagram.com https://www.instagram.com https://.www.instagram.com https://.cdninstagram.com wss://www.instagram.com https://.facebook.com https://.fbcdn.net https://.facebook.net 'unsafe-inline' 'unsafe-eval' blob:; style-src 'self' https://.www.instagram.com https://www.instagram.com 'unsafe-inline'; connect-src 'self' https://instagram.com https://www.instagram.com https://.www.instagram.com https://graph.instagram.com https://.graph.instagram.com https://.cdninstagram.com https://api.instagram.com wss://www.instagram.com wss://edge-chat.instagram.com https://.facebook.com https://.fbcdn.net https://.facebook.net chrome-extension://boadgeojelhgndaghljhdicfkmllpafd blob:; worker-src 'self' blob: https://www.instagram.com; frame-src 'self' https://instagram.com https://www.instagram.com https://staticxx.facebook.com https://www.facebook.com https://web.facebook.com https://connect.facebook.net https://m.facebook.com; object-src 'none'; upgrade-insecure-requests', 'X-Content-Type-Options', 'nosniff', 'X-XSS-Protection', '0', 'x-aed', '1', 'Set-Cookie', 'rur=ATN; Domain=.instagram.com; HttpOnly; Path=/; Secure', 'Set-Cookie', 'urlgen="{\"58.234.67.234\": 9318}:1hT3Aw:2sTwz6QVc-Otsdm-fUCzjCmmRqM"; Domain=.instagram.com; HttpOnly; Path=/; Secure', 'Connection', 'close', 'Content-Length', '21119' ], trailers: {}, rawTrailers: [], aborted: false, upgrade: false, url: '', method: null, statusCode: 404, statusMessage: 'Not Found', client: TLSSocket { _tlsOptions: [Object], _secureEstablished: true, _securePending: false, _newSessionPending: false, _controlReleased: true, _SNICallback: null, servername: 'i.instagram.com', alpnProtocol: false, authorized: true, authorizationError: null, encrypted: true, _events: [Object], _eventsCount: 7, connecting: false, _hadError: false, _handle: null, _parent: null, _host: 'i.instagram.com', _readableState: [ReadableState], readable: false, _maxListeners: undefined, _writableState: [WritableState], writable: false, allowHalfOpen: false, _sockname: null, _pendingData: null, _pendingEncoding: '', server: undefined, _server: null, ssl: null, _requestCert: true, _rejectUnauthorized: false, parser: null, _httpMessage: [ClientRequest], [Symbol(res)]: [TLSWrap], [Symbol(asyncId)]: 350, [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBytesRead)]: 23117, [Symbol(kBytesWritten)]: 644, [Symbol(connect-options)]: [Object] }, _consuming: true, _dumped: false, req: ClientRequest { _events: [Object], _eventsCount: 5, _maxListeners: undefined, output: [], outputEncodings: [], outputCallbacks: [], outputSize: 0, writable: true, _last: true, chunkedEncoding: false, shouldKeepAlive: false, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, socket: [TLSSocket], connection: [TLSSocket], _header: 'GET /api/v1/direct_share/recent_recipients/ HTTP/1.1\r\nX-IG-Connection-Type: WIFI\r\nX-IG-Capabilities: 3QI=\r\nAccept-Language: en-US\r\nHost: i.instagram.com\r\nAccept: /\r\nAccept-Encoding: gzip, deflate, sdch\r\nConnection: Close\r\nUser-Agent: Instagram 27.0.0.7.97 Android (19/4.3.1; 401dpi; 1080x1920; TCT (Alcatel); ALCATEL ONE TOUCH 5020T; Megane; en_US)\r\ncookie: ds_user=ttorios; csrftoken=JxGBWdp2itl4yKt6P387H3PqkgiV2ipy; rur=ATN; mid=XOPkVwABAAHaDXXE1K6s_bz5WX57; ds_user_id=11325007549; sessionid=11325007549%3AdaL7RAMT1pFS13%3A13; is_starred_enabled=yes; igfl=ttorios; urlgen="{\"58.234.67.234\": 9318}:1hT3Av:6iF-YGlZ1SOkl1nornTZgwmpiyk"\r\n\r\n', _onPendingData: [Function: noopPendingOutput], agent: [Agent], socketPath: undefined, timeout: undefined, method: 'GET', path: '/api/v1/direct_share/recent_recipients/', _ended: true, res: [Circular], aborted: undefined, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, [Symbol(isCorked)]: false, [Symbol(outHeadersKey)]: [Object] }, request: Request { _events: [Object], _eventsCount: 5, _maxListeners: undefined, method: 'GET', resolveWithFullResponse: true, headers: [Object], gzip: true, readable: true, writable: true, explicitMethod: true, _qs: [Querystring], _auth: [Auth], _oauth: [OAuth], _multipart: [Multipart], _redirect: [Redirect], _tunnel: [Tunnel], _rp_resolve: [Function], _rp_reject: [Function], _rp_promise: [Promise], _rp_callbackOrig: undefined, callback: [Function], _rp_options: [Object], setHeader: [Function], hasHeader: [Function], getHeader: [Function], removeHeader: [Function], localAddress: undefined, pool: {}, dests: [], __isRequestRequest: true, _callback: [Function: RP$callback], uri: [Url], proxy: null, tunnel: true, setHost: false, originalCookieHeader: undefined, _jar: [RequestJar], port: 443, host: 'i.instagram.com', path: '/api/v1/direct_share/recent_recipients/', httpModule: [Object], agentClass: [Function], agent: [Agent], _started: true, href: 'https://i.instagram.com/api/v1/direct_share/recent_recipients/', req: [ClientRequest], ntick: true, response: [Circular], originalHost: 'i.instagram.com', originalHostHeaderName: 'Host', responseContent: [Circular], _destdata: true, _ended: true, _callbackCalled: true }, toJSON: [Function: responseToJSON], caseless: Caseless { dict: [Object] },

ttorios avatar May 21 '19 12:05 ttorios