goodbye_chatwork
goodbye_chatwork copied to clipboard
goodbye_chatwork_0.0.7 raised RuntimeError: no token while trying to get access token
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>'
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?
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.
I am in trouble with the same error. Is there any solution?