Tripletex / Tripletex/tripletex-api2
POST /activity without activityType responds with 500 Internal Server Error
Open
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 49
- Forks
- 47
- Avg merge
- 1h 1m
- Merged PRs (30d)
- 1
Description
I made a POST request to activity with only name included in the body. It responds with internal server error. It's not a big issue, just though I'd report it, as other endpoints seems to do some validation of the data and returns 422 instead :)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing POST /activity with a body containing only name, then trace the endpoint's validation and error handling. Done means the missing activityType request returns a 422 validation response like the other endpoints instead of a 500 error.
Written by the indexing model from the issue text.
Assessment
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100