Working example of API file metadata update on STATA file? #9676
Labels
Feature: API
Status: Needs Reproducing
Someone should try to reproduce the issue to make sure it's still valid.
Type: Bug
a defect
User Role: API User
Makes use of APIs
What steps does it take to reproduce the issue?
I am trying to recreate
https://guides.dataverse.org/en/5.13/api/native-api.html#updating-file-metadata
on some STATA file metadata I have but I have tried just about everything with no luck. I requested the existing file metadata usinghttps://demo.dataverse.org/api/files/:persistentId/metadata?persistentId=doi:10.70122/FK2/YUUS5M/77CV8Z
with no problem.When I try to update the metadata with additional information using the following terminal commands...
...I receive the following error:
This error message seems a bit odd considering I am not trying to replace an existing file, but only the metadata. What am I missing?
The text was updated successfully, but these errors were encountered: