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

crach on calling api.getChatMember() #68

Open
1337G66k opened this issue May 2, 2020 · 1 comment
Open

crach on calling api.getChatMember() #68

1337G66k opened this issue May 2, 2020 · 1 comment

Comments

@1337G66k
Copy link

1337G66k commented May 2, 2020

/Users/g66k/Code/JavaScript/node_modules/bluebird/js/release/async.js:49
fn = function () { throw arg; };
^
StatusCodeError: 400 - {"ok":false,"error_code":400,"description":"Bad Request: wrong user_id specified"}
at new StatusCodeError (/Users/g66k/Code/JavaScript/node_modules/request-promise-core/lib/errors.js:32:15)
at Request.plumbing.callback (/Users/g66k/Code/JavaScript/node_modules/request-promise-core/lib/plumbing.js:104:33)
at Request.RP$callback [as _callback] (/Users/g66k/Code/JavaScript/node_modules/request-promise-core/lib/plumbing.js:46:31)
at Request.self.callback (/Users/g66k/Code/JavaScript/node_modules/request/request.js:185:22)
at Request.emit (events.js:310:20)
at Request. (/Users/g66k/Code/JavaScript/node_modules/request/request.js:1161:10)
at Request.emit (events.js:310:20)
at IncomingMessage. (/Users/g66k/Code/JavaScript/node_modules/request/request.js:1083:12)
at Object.onceWrapper (events.js:416:28)
at IncomingMessage.emit (events.js:322:22)
at endReadableNT (_stream_readable.js:1187:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21) {

@mast
Copy link
Owner

mast commented Jun 28, 2020

Please check your user_id field. It have to be Integer identity of user. You get it in update at path update.message.from.id.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants