Creating users using API doesn’t work
-
Hi, I’m trying to register new users through the default WP API. However it fails due to some authentication issues. I’m using application password, this used to work few months ago, is there an update somewhere that disabled this?
Here’s the response I get :
{"code": "invalid_username","message": "<strong>Erreur :</strong> identifiant inconnu. Vérifiez à nouveau ou essayez avec votre adresse e-mail.","data": {"status": 401}}
(the message is in french, but it basically says “Error: unknown user. Verify again or try with your email adress)
my request :
https://sandbox.lynxws.ch/wp-json/wp/v2/users?username=lennydz&[email protected]&password=12345
And I deactivated all the plugin for test purpose. And I added the basic auth with username:pwd as it should be. And the I use an admin user.
Any idea on what’s wrong?
The page I need help with: [log in to see the link]
- The topic ‘Creating users using API doesn’t work’ is closed to new replies.