toggl / toggl_api_docs

Documentation for the Toggl API
1.4k stars 235 forks source link

time_entry can't be blank #299

Closed kjsb25 closed 6 years ago

kjsb25 commented 6 years ago

I'm having an issue with starting a time entry.

I copy the code in exactly from toggl_api_docs/chapters/time_entries.md , and only edit my api token and the pid (to align it with one of my own projects), and get an error stating the time_entry can't be blank. Shown below.

image

Any tips on what I'm doing wrong? The documentation seems to be in need of an update, because I don't see how editing two values would make it not well formed JSON.

kjsb25 commented 6 years ago

Issue staled.

fischgeek commented 5 years ago

What was the resolution on this? I'm getting the same error.

kjsb25 commented 5 years ago

Unfortunately I went to testing with something other than curl, and didn't have the same error as I did here. My guess was the json formatting was malformed somehow but I couldn't nail down the issue. Sorry :/