zenhob / hcl

Command-line tool for manipulating Harvest timesheets
http://zenhob.github.io/hcl
MIT License
223 stars 45 forks source link

Unable to authenticate: Login failed. #100

Open duleorlovic opened 2 years ago

duleorlovic commented 2 years ago

When I use hcl log I see the following output

$ hcl log
Unable to authenticate: Login failed.
Please specify your Harvest credentials.
Email Address:

when I try to use my email and password I got same error message. (I successfully logged in using same credentials on https://id.getharvest.com/harvest/sign_in)

KTSCode commented 2 years ago

I have the same issue

mbbischoff commented 2 years ago

I’m also running into this. Would anyone like to potentially look into it with me?

brunowego commented 1 year ago

Yes! I get exactly same issue.

brunowego commented 1 year ago

The API v1 is deprecated. The new API v2 have different API structure. https://www.getharvest.com/blog/2017/09/introducing-harvest-api-v2

kgajera commented 1 year ago

Since this isn't maintained anymore, I did create a Harvest CLI that uses the V2 API. It's published as an NPM package and has similar commands: https://github.com/kgajera/hrvst-cli