Home › Forums › General Issues › Headless WordPress: ACF fields return empty once a post is created with WP-API › Reply To: Headless WordPress: ACF fields return empty once a post is created with WP-API
I think I may be having a related problem.
I’m creating a bulk importer to take youtube videos and bring them as oembed fields in standard wordpress posts.
I’ve done the process manually from the admin using a field group that I put together.
When I attempt to use the REST API via a Python application and make my http post requests to create a new wordpress post, I get a new post but the ACF field group is null in the acf object.
I was hoping that this was not a problem given that the recent updates to the REST API sound like this ought not to happen?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
CPT registration is coming to ACF! We demoed the new feature during the most recent session of ACF Chat Fridays. Check out the summary for the details. https://t.co/k2KQ3WWBAz— Advanced Custom Fields (@wp_acf) March 7, 2023
© 2023 Advanced Custom Fields.