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

I have configured to call a zapier webhook when a project is created. The zap then calls the api to modify the project_preferences.


Request Body:

 "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 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?

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.