cant_update_item when i edit acf user’s fields by API
-
Hi,
When i try to edit fields of a user i have the error :
{“code”:”cant_update_item”,”message”:”Cannot update item”,”data”:{“status”:500}}My endpoint is : wp-json/acf/v3/users/(ID)
I use PUT method.
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 solutionHow can i do this ?
Thanks
- The topic ‘cant_update_item when i edit acf user’s fields by API’ is closed to new replies.