jambonz / jambonz/jambonz-api-server

API server returns incorrect HTTP status code

Open
#326 1 comment 0 reactions 1 assignee Claimed by @xquanluu View on GitHub
Dominant language
JavaScript
Stars
24
Forks
38
Avg merge
8h 34m
Merged PRs (30d)
1

Description

https://github.com/jambonz/jambonz-api-server/blob/d33d0aa5199eb5c8da649110f19e070659b031dc/lib/routes/api/error.js#L16-L18

When trying to create a resource that already exists, the code returned is 422 (unprocessable resource) when it should return a 409 (conflict).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.