BP-REST
BP-REST copied to clipboard
Update the logged in member "code": "rest_user_invalid_id"
Hi I tried to update the logged-in user Display name using REST API I got this Error Update the logged in member "code": "rest_user_invalid_id", "message": "Invalid user ID.",
i fellowed the documentation: Update the logged in member

Are you authenticated? This error implies the current user is not logged in.
Yes I am authenticated, all the other API endpoints works great, I was able to update xprofile fields
@ranfen I can't reproduce this issue. 🤔
@ranfen I can't reproduce this issue. 🤔
So what should we do?
I confirm @renatonascalves test. The endpoint behaves as expected. I've just tested using the code we're suggesting in https://developer.buddypress.org/bp-rest-api/reference/members/#update-the-logged-in-member
@ranfen I advise you to check the nonce header has been sent by your request.
For now and with no other inputs. I'm closing this issue.