Sign in to participate

Be Kind, Be Helpful

Ask a question, answer a question, and get to know the fine people in the Harvest community.

Forum powered by Altered Beast
This is a Topic in API and Developers

/people/#{user_id}/entries? Not Found

Avatar

The reporting API documented here, is broken:

http://www.getharvest.com/api/reporting#get-use...

Specifically, calling:

GET /people/#{user_id}/entries?from=YYYYMMDD&to=YYYYMMDD

Results in a page not found error. Now, I figured I would poke around and try to see if I can get at the same thing via something like this (which I’m just guessing at by playing with the web UI URLs):

GET /reports/users/#{user_id}?from=YYYYMMDD&to=YYYYMMDD

But, that returns no data.

Am I missing something? Is the Harvest API broken? Did it change, but without an update to the documentation?

Avatar

Did you actually call this URL as written?

GET /people/#{user_id}/entries?from=YYYYMMDD&to=YYYYMMDD

The #{user_id} portion needs to be replaced with a valid user_id for your account.

Avatar

To be more clear, I just made a call using a user_id in our account and it worked. I don’t see the breakage in the reporting API.

Avatar

Hi Barry,

It works! No problem.

OK, it was my bad. There was a bug in my code that was causing the URL to be malformed. However, when I typed the correct URL into my browser, Harvest returned a “We can’t find the page you’re looking for.” page, so I figured that maybe it was something wrong with the API.

Thanks,

-Jim

 

[ Please sign up to post a comment. ]