# Issue with Update/Patch File Metadata Fields with V4 API - get code 422

**URL:** <https://forum.frame.io/t/issue-with-update-patch-file-metadata-fields-with-v4-api-get-code-422/2996>\
**Category:** Help\
**Tags:** api, v4\
**Created:** [November 27, 2025, 7:57pm UTC](https://forum.frame.io/t/issue-with-update-patch-file-metadata-fields-with-v4-api-get-code-422/2996 "2025-11-27T19:57:44Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![FuBu](https://avatars.discourse-cdn.com/v4/letter/f/b9bd4f/32.png) [@FuBu](https://forum.frame.io/u/FuBu)\
**Post date:** [November 27, 2025, 9:26pm UTC](https://forum.frame.io/t/issue-with-update-patch-file-metadata-fields-with-v4-api-get-code-422/2996/2 "2025-11-27T21:26:47Z")

</div>

NOOP. I think I figured it out. I referenced this post …

> [@Possible to change video status via API?](https://forum.frame.io/t/possible-to-change-video-status-via-api/2724/4):
>
> @tylermyeo you’re close. Your payload would be: { "data": { "asset\_ids": ["your-asset-id"], "values": [{ "field\_definition\_id": "your-status-field-id", "value": ["status-uuid"] } ] } } I just tested this myself and confirmed this works. Here was my example cURL command if you want to reference curl -X PATCH "https://api.frame.io/v4/accounts/ACCOUNT\_ID/projects/PROJECT\_ID/metadata/values" \ -H "Authorization: Bearer YOUR\_ACCESS\_TOKEN" \ -H "C…

But used this …

endpoint … [https://api.frame.io/v4/accounts/{account\_id}/projects/{project\_id}/metadata/values](https://api.frame.io/v4/accounts/%7Baccount_id%7D/projects/%7Bproject_id%7D/metadata/values)

```auto
payload = {
    "data": {“file_ids”: [asset_id],
             “values”: [{"field_definition_id": field_definition_id, "value": "my value”}]
    }
}

```

i got the field\_definition\_id for my custom field (it doesn’t use the name) by calling this endpoint …

[https://api.frame.io/v4/accounts/{account\_id}/metadata/field\_definitions](https://api.frame.io/v4/accounts/%7Baccount_id%7D/metadata/field_definitions)

Hopefully this helps someone else out as well.

---

_[View the full topic](https://forum.frame.io/t/issue-with-update-patch-file-metadata-fields-with-v4-api-get-code-422/2996)._
