Support

Account

Home Forums General Issues cant_update_item when i edit acf user's fields by API

Unread

cant_update_item when i edit acf user's fields by API

  • Hi,

    I’m editing ACF Fields with the API. And i need to update acf fields for specific user.

    For this i have to use the extension ACF to REST API.
    Then i use the endpoint : wp-json/acf/v3/users/(ID) with PUT Method

    Doesn’t works and give me the error cant_update_item.

    But after few hours I found something really weird that make it works but i can’t use this forever :
    I need to put a rule in my ACF configuration like :
    OR
    USER ACTUEL – IS – CONNECTED
    This configuration add all the ACF fields for all elements (post, custom post type…), but let the UPDATE works through the API.
    The problem is, i can’t let this fields everywhere. So i need to find a solution

    Any idea ?

    Thanks

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.