Update File Metadata API for Published dataset should be accessible #11208
Labels
Feature: Metadata
GREI Re-arch
Issues related to the GREI Dataverse rearchitecture
Size: 3
A percentage of a sprint. 2.1 hours.
SPA
These changes are required for the Dataverse SPA
Type: Bug
a defect
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
The text was updated successfully, but these errors were encountered: