Project

Profile

Help

Issue #5191

closed

Change ValidationError raised from 400 to 409

Added by CodeHeeler over 4 years ago. Updated almost 4 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - Python:
Platform Release:
Target Release - Python:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

In PythonOneShotUploadViewSet, if the file already exists, the validation checking for the filename reports back that "This field must be unique." and currently raises a ValidationError that yields a status_code of 400, Bad Request.

This would more accurately be a 409 error, Conflict.

Actions #1

Updated by dalley almost 4 years ago

  • Status changed from NEW to CLOSED - WONTFIX

Also available in: Atom PDF