# Project Update API returns 200, but doesn't update the project

**URL:** <https://forum.frame.io/t/project-update-api-returns-200-but-doesnt-update-the-project/1007>\
**Category:** Help\
**Tags:** api\
**Created:** [July 9, 2024, 1:27pm UTC](https://forum.frame.io/t/project-update-api-returns-200-but-doesnt-update-the-project/1007 "2024-07-09T13:27:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luke](https://avatars.discourse-cdn.com/v4/letter/l/7ab992/32.png) [@Luke](https://forum.frame.io/u/Luke)\
**Post date:** [July 9, 2024, 1:27pm UTC](https://forum.frame.io/t/project-update-api-returns-200-but-doesnt-update-the-project/1007/1 "2024-07-09T13:27:38Z")

</div>

I have configured [frame.io](http://frame.io) to call a zapier webhook when a project is created. The zap then calls the [frame.io](http://frame.io) api to modify the project\_preferences.

URL: `https://api.frame.io/v2/projects/{my_project_id}`

Request Body:

```auto
{
 "project_preferences": {
     "notify_slack": true
  }
}

```

I have tried including the id in the payload too, and a few other variations. Anyways, the endpoint returns 200 but in the response.data I can see that notify slack has not been changed, and when I go to the UI it is also unchanged. Am I misunderstanding the payload?

---

<div class="post-metadata">

**Author:** ![jhodges](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.frame.io/jhodges/32/3_2.png) [@jhodges](https://forum.frame.io/u/jhodges)\
**Post date:** [July 16, 2024, 4:51pm UTC](https://forum.frame.io/t/project-update-api-returns-200-but-doesnt-update-the-project/1007/2 "2024-07-16T16:51:25Z")

</div>

For anyone else that runs into this, the issue ended up being a missing `content-type: application/json` headers on the API request headers. Once added, everything started working!

It would appear that when a request doesn’t include that header, we respond with a `200` status code, but nothing actually happens.
