Error at 'Create metadata instance on file'
Opened this issue · 0 comments
comcduarte commented
Description of the issue
When creating a metadata instance on a file where one already exists, receive ClientError object with status property empty. code property also differs from documentation.
Current content
{"message":"Conflict on Metadata Instance.","code":"conflict","request_id":"rfaeuqhlr9guyedg"}
Expected content
{"type":"error","status":"409","message":"An instance of them metadata template already exists on the file.","code":"tuple_already_exists","request_id":"rfaeuqhlr9guyedg","help_url":"http://developers.box.com/docs/#errors"}
Link to the documentation page
https://developer.box.com/reference/post-files-id-metadata-id-id/