Tripletex / Tripletex/tripletex-api2
[Order] Wrong response message when providing invalid order.id
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 49
- Forks
- 47
- Avg merge
- 1h 1m
- Merged PRs (30d)
- 1
Description
When making a post request to the /order/orderline endpoint, the response message returns invalid projectId when the orderId don't exist. The correct response here would be "field": "orderId" and "path": "orderId"


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 the POST request to /order/orderline with an orderId that does not exist and inspect the response validation path. Trace where the invalid projectId message is produced and verify that the response identifies field and path as orderId. Done means the endpoint returns the corrected message for an invalid orderId.
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
- 48/100