Support

Account

Home Forums ACF PRO ACF-TO-REST-API with Python | Repeater fields not updating Reply To: ACF-TO-REST-API with Python | Repeater fields not updating

  • I have no idea how this ties into what you are doing, but if you are attempting to update ACF values for fields that do not already have a value stored in the DB for the post being updated then you must use the field key when updating using the acf function update_field() and if you are not useing this function then you must also create the acf field key reference value.

    see this document where it talks about using the field key https://www.advancedcustomfields.com/resources/update_field/

    for every field, for example “$field_name” a second second value is added to the db with the meta_key of “_{$field_name}” and the value of this second entry is the field key of the field. This field key reference must exist for anything except basic text fields.