goodbye_chatwork icon indicating copy to clipboard operation
goodbye_chatwork copied to clipboard

goodbye_chatwork_0.0.7 raised RuntimeError: no token while trying to get access token

Open MidNightEye59 opened this issue 7 years ago • 3 comments

I'm in trouble about this problem. login': no token (RuntimeError)

Environment :Windows10 Pro Ruby    :Ver2.2.6P396 goodbye_chatwork 0.0.7 [Github] https://github.com/swdyh/goodbye_chatwork/

I use Chatwork(Not KDDI Chatwork for enterprises)

Below is full traces.

$ goodbye_chatwork -i [email protected] -p my_password
2017-05-01T20:23:00+09:00 login as [email protected]...
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/goodbye_chatwork-0.0.7/lib/goodbye_chatwork.rb:41:in `login': no token (RuntimeError)
        from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/goodbye_chatwork-0.0.7/bin/goodbye_chatwork:47:in `<top (required)>'
        from C:/Ruby22-x64/bin/goodbye_chatwork:22:in `load'
        from C:/Ruby22-x64/bin/goodbye_chatwork:22:in `<main>'

MidNightEye59 avatar May 01 '17 15:05 MidNightEye59

I confirmed the same phenomenon.

reCAPTCHA ( https://www.google.com/recaptcha/intro/v3.html ) is introduced in Loing ( https://www.chatwork.com/login.php ).

Is there a possibility that reCAPTCHA is the cause?

ghost avatar Dec 07 '18 02:12 ghost

I read login function in gems/goodbye_chatwork-0.0.8/lib/goodbye_chatwork.rb .

That sent E-mail & Password with POST in login function, then parsed API TOKEN from response body.

However, when "login': no token (RuntimeError)" has is output, I confirmed that response body is also empty.

ghost avatar Dec 07 '18 02:12 ghost

I am in trouble with the same error. Is there any solution?

worldpeace39 avatar Oct 07 '19 07:10 worldpeace39