Skip to content

Updating ACF fields for user #241

@yannandco

Description

@yannandco

Hello,
I am trying to update ACF fields for users but i have a

{ "code": "cant_update_item", "message": "Cannot update item", "data": { "status": 500 } }

URL POST:
https://localhost/wp-json/acf/v3/users/45/

JSON:
{ "fields":{ "adresse": "Clos de la fonderie" } }

I am using Basic authentification plugin.

I can create ACF Fields but cannot update them.

Thank you in advance

Activity

martinoroma88

martinoroma88 commented on May 11, 2018

@martinoroma88

I have the same issue. I use Application Passwords for authentication. Same error 500

dvdl16

dvdl16 commented on May 26, 2018

@dvdl16

I'm experiencing the same issue. I use WP OAuth Server for auth, and my request is authorised. I can successfully update fields on "posts", but I just can't seem to update fields on "users". @airesvsg any idea what could cause this?

dvdl16

dvdl16 commented on May 26, 2018

@dvdl16

Following the steps in this thread fixed it for me:
#141

linked a pull request that will close this issue on May 28, 2018
JoshuaVB

JoshuaVB commented on Aug 12, 2020

@JoshuaVB

For anyone coming upon this in 2020, there's one more addition to the #141 thread that needs to be added:
#247 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @yannandco@dvdl16@JoshuaVB@martinoroma88

      Issue actions

        Updating ACF fields for user · Issue #241 · airesvsg/acf-to-rest-api