update_field() is ACF function so I would guess the issue is with it. From quick look at source it calls get_field_object() and so on, so environment might not be sufficient for it to work correctly during import.
There is no “half” state for native meta data, either it exists in database or it doesn’t. You could try to stick with native WP API for meta data, but no idea what is actually required for ACF to pick it up properly.
Related Posts:
- WordPress is stripping escape backslashes from JSON strings in post_meta
- Trying to get custom post meta through Jetpack JSON API [closed]
- How to update/insert custom field(post meta) data with wordpress REST API?
- Identifying Importer Posts
- Options to get my custom post type metadata via the WordPress API
- INSERT ON DUPLICATE KEY UPDATE failes in postmeta table
- Update Line Item Meta Data – WooCommerce API
- Post MetaTable Overload
- Cant create or update meta fields using WordPress REST API
- WP-API + JS Backbone client – how to update post meta
- WP-API : post_meta not updated… but have another entry
- How do I retrieve the slug of the current page?
- Get WP Navigation Menu from REST API V2
- Implementing Isomorphic JavaScript (React JS) in WordPress?
- Lack of composite indexes for meta tables
- WP API returning SQL results as strings, rather than numbers
- How we get_post_meta without post id
- What is the code to get the download link for a product in WooCommerce?
- Content hooks vs User hooks
- WordPress Rest API: How do we validate with our custom API key?
- Adding an assisting editor box to Post page
- Save both current and new version of post meta
- Get Advanced Custom Fields values before saving [closed]
- Why am I getting an infinite loop with have_posts?
- get_post_meta – get a single value
- How to store post meta in an array?
- update_post_meta() not working when used with WordPress action
- Triple meta_key on custom SELECT query
- update_post_meta not adding anything.(Nor add_post_meta)
- Get posts by meta value with date
- Get updated post meta on save_post action?
- WordPress REST API “rest_authentication_errors” doesn’t work external queries?
- Delete post meta conditionally after save post
- How to sanitize post meta field value?
- Job of meta_key meta_value fields in database tables
- How to store Gutenberg ColourPicker RGBA as metadata
- Is it possible to update a post meta field through REST API if the format of it when registered is nested?
- How trigger to save post when updating post meta
- Query 2 meta key values and a category
- trying to do if post meta !=0
- Trying to get file name
- order by multiple meta_keys?
- wp_insert_post bulk import 500 server error
- how to get all post with the same post meta?
- Echo page title from page with custom meta datetime picker
- echo image caption
- get_*_meta doesn’t always return an array
- Generate multiple goo.gl shortlinks for qtranslate bilingual blog
- MySQL Query To Select Post By Postmeta
- Copy content stored in meta to post content
- How to programmatically customise the Contact Form7 notification email prior to sending? [closed]
- How can I convert postmeta from unserialized to serialized?
- add_post_meta adds meta to one more different post
- need to add add user names to the post for later retrieval or removal
- Like & Dislike functionality using JavaScript
- How can I change the tag contents of individual WordPress posts?
- get_post_meta producing white screen of death
- get_permalink vs the_permalink
- Look up all posts by status or meta value – performance difference
- Updating my Post when expiry date is past
- How to remove Date from Meta Description on SERP?
- WP REST API. Configuring JSON routes
- Can A Post Meta Field Store multiple values that are not in an array?
- esc_attr on get_post_meta [closed]
- How to display sql query fired by posts_where
- Unfiltered html with update_post_meta
- get meta value from page query
- Sort custom posts in archive by multiple values: date AND meta key
- why after saving meta value it’s saving all the values the one that i clicked?
- Retrieving post meta array (attachment)
- Why is variable that get_post_meta stored in empty?
- wpdb->get_var – count author posts, meta value
- Displaying the ‘time ago’ for recent activity within a post/custom post type?
- add post meta front end edit
- How to query and update one colum in postmeta table?
- How to remove date from showing in meta description
- Search post overlapping dates – meta_query with meta_key
- How to save HTML data into SQL post_content column
- update post meta value with other post meta value
- Check For get_post_meta on Author Archive Page
- Negative meta_query if storing multiple post_meta values with shared meta_key
- What format is this and how to get value “lal” and “pila” from it
- Frontend query and does not need to log in [closed]
- Get data from custom table and update relative post_meta based on meta_key
- How to get the total of two meta values from different meta keys?
- How to save a meta_value as a numeric value after I retrieve it via update_post_meta?
- Get or set values in post meta
- Programatically delete several attributes in _product_attributes in post meta
- Get post meta after insert post
- Data not displaying in text field
- Best Way to detect unique posts in wp rest api
- Proper Way to Sanitize Meta Input
- update_post_meta returning false when called during init
- post_title in save_post action
- Getting meta content from get_next_post & get_previous_post
- Get value from post meta array, and add it as a category
- Cache metadata for set of posts
- Problem with get_post_meta
- get_post_meta() returns nothing in save_post, publish_post, wp_after_insert_post
- How can i delete default title tag from wordpress?