Skip to content

Error at 'Create metadata instance on file' #393

@comcduarte

Description

@comcduarte

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/

Metadata

Metadata

Assignees

Labels

documentationError found at Box Developer Documentation site

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions