BlueBrain / BlueBrain/nexus

Incorrect error response when creating a project

Open
#1,576 0 comments 0 reactions 0 assignees View on GitHub
bug delta
Dominant language
Scala
Stars
301
Forks
76
PR merge metrics
No merged PRs in 30d

Description

When creating a project without a Content-Type header, I get the following error:

```{
"@context": "https://bluebrain.github.io/nexus/contexts/error.json",
"@type": "MissingQueryParam",
"reason": "Request is missing required query parameter 'rev'."
}```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing project creation without a Content-Type header and inspect how the request is routed to error handling. Trace why the response reports a missing 'rev' query parameter, then verify that the API returns the correct error for this request.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.