Update File Metadata API for Published dataset should be accessible #11208
Labels
Feature: Metadata
FY25 Sprint 16
FY25 Sprint 16 (2025-01-29 - 2025-02-12)
FY25 Sprint 17
FY25 Sprint 17 (2025-02-12 - 2025-02-26)
GREI Re-arch
Issues related to the GREI Dataverse rearchitecture
Size: 20
A percentage of a sprint. 14 hours.
SPA
These changes are required for the Dataverse SPA
Type: Bug
a defect
Milestone
What steps does it take to reproduce the issue?
.../api/v1/files/{fileID}/metadata
, works well.../api/v1/files/{fileID}/metadata
, 400 error occursWhen does this issue occur?
When I use post
.../api/v1/files/27/metadata
from native api to edit file metadata, if the dataset of the file is published, the result would be a400 error { "status": "ERROR", "message": "Filename already exists at blob" }
(blob is the file name I upload)Which page(s) does it occurs on?
File, update file metadata api
What happens?
To whom does it occur (all users, curators, superusers)?
api users
What did you expect to happen?
No matter what the dataset status is, should be able to edit file metadata
Which version of Dataverse are you using?
api
Any related open or closed issues to this bug report?
#IQSS/dataverse-client-javascript#213
Not sure about the size, so randomly put a size tag here, feel free to adjust.
The text was updated successfully, but these errors were encountered: