Hi Elliot, I managed to get it to work apparently the type of the post wasn’t send correctly to the function because it’s a custom post. When I added the type in the function manually it did save the data.
So problem is solved.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users