Describe the bug
I try to create a timesheet through post request. The documentations say i can put a "duration" field in JSON Body but everything i get back is.
{
"code": 400,
"message": "Validation Failed",
"errors": {
"errors": [
"This form should not contain extra fields."
],
"children": {
"project": {},
"activity": {},
"description": {},
"tags": {},
"user": {},
"exported": {}
}
}
}
To Reproduce
{
"duration": 1800,
"project": 30,
"activity": 2,
"description": "Test"
}Additional context
Thats a bug in the API documentation. Please use begin and end field.
I found out that it's related to the time-tracking mode.
I changed it to default, now the begin and end field works.
Thanks for your reply
Yes, but still a bug here ^^ so I'll reopen to keep track of it.
Most helpful comment
Yes, but still a bug here ^^ so I'll reopen to keep track of it.