kappa/checkvist-backup

request to https://checkvist.com/checklists.json failed at checkvist_backup.pl line 27

Opened this issue · 2 comments

request to https://checkvist.com/checklists.json failed at checkvist_backup.pl line 27

Yet when called in chrome, seems to give a viable list / output.

  • Suggestions?

Tried:

21: http -> https
24: ':80' -> ''

No joy.

Thoughts?

  • looks like https is needed. Running via wget returns 301 redirect to https.
  • One error in my testing is checkvist seems to indicate in some places that use of the user name instead of the e-mail address is acceptable. Doesn't look like it here - manual browser tests with (screen) name instead of e-mail address fail. (auth/curr_user). So ... note to self, use e-mail address with --login.

wget equivalents get good output, however this script seems to get an error even out of 'my $login_result = $chv->get('auth/login.json', { username => $login , remote_key => $remotekey});' which is a showstopper.

This seems to be a lib issue, not a checkvist or script issue.

Suggestions?

Late, but: I got the same error and was about to build one in python when I realized my password was wrong. Just a thought.