ujiro99 / RedmineTimeTracker

Chrome/Electron app for tracking work time.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Server returns 422 (Unprocessable Entity) when saving time entry

krtek opened this issue · comments

The request looks like this:

<time_entry>
<issue_id>3768</issue_id>
<hours>8</hours>
<activity_id>8</activity_id>
<comments>xxx</comments>
</time_entry>

and server responds with 422 (Unprocessable Entity).

According to documentation, there is spent_on attribute which is optional but it might be worth to try to set it.

I tested it with spent_on filled and it's not the issue. Seems it is something related to our Redmine installation.

This error is probably due to bug in Redmine 2.4.0.