-
Notifications
You must be signed in to change notification settings - Fork 32
Duplication of error code semantics, i.e. CONFLICT and ALREADY_EXISTS #562
Copy link
Copy link
Labels
Spring26Scope of Spring26 (H1-2026) meta-releaseScope of Spring26 (H1-2026) meta-releasecorrectioncorrection in documentationcorrection in documentation
Milestone
Description
Problem description
CAMARA commonalities includes two error codes within the 409 CONFLICT HTTP status code, which are semantically identical.
The error code CONFLICT has the same meaning as the error code ALREADY_EXISTS. Both address the error condition, that an API operation cannot be executed it leads to a duplication of an existing resource.
Expected behavior
Remove or disallow the usage of one of the two error codes. Preferably keep ALREADY_EXISTS, since clearer for an API developer and more to the point.
Alternative solution
Additional context
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Spring26Scope of Spring26 (H1-2026) meta-releaseScope of Spring26 (H1-2026) meta-releasecorrectioncorrection in documentationcorrection in documentation