Project

Profile

Help

Issue #3387

Improve error message when uploading a file already in Pulp3

Added by kersom over 1 year ago. Updated 6 months ago.

Status:
NEW
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Severity:
1. Low
Version:
Platform Release:
Blocks Release:
OS:
Backwards Incompatible:
No
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:

Description

Add a more descriptive error message when uploading a file already in Pulp.

Right now, when using POST /api/v3/artifacts/, with a file that already exists in Pulp is sending back a HTTP 400, and the following message.

{'non_field_errors': ['sha512 checksum must be unique.']}

Related issues

Related to Pulp - Story #3681: Have the artifact upload return the artifact href if the artifact already exists NEW Actions

History

#1 Updated by dalley over 1 year ago

  • Triaged changed from No to Yes

#2 Updated by amacdona@redhat.com 11 months ago

  • Related to Story #3681: Have the artifact upload return the artifact href if the artifact already exists added

#3 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF