Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating ACF fields for user #241

Open
yannandco opened this issue May 2, 2018 · 4 comments · May be fixed by #247
Open

Updating ACF fields for user #241

yannandco opened this issue May 2, 2018 · 4 comments · May be fixed by #247

Comments

@yannandco
Copy link

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

@martinoroma88
Copy link

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

@dvdl16
Copy link

dvdl16 commented May 26, 2018

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
Copy link

dvdl16 commented May 26, 2018

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

@jacktator jacktator linked a pull request May 28, 2018 that will close this issue
@JoshuaVB
Copy link

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
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants