Troubleshooting

Connection failing with a 401 error - what fixes it?

2 replies

saurabhbhayana19962026-07-11 12:48
I tried to connect my site and I keep getting a 401 Unauthorized. The AI says it cannot reach my WordPress REST API. What is the usual cause?
saurabhbhayana19962026-07-11 12:48
A 401 almost always means the Application Password or username is wrong, or the site is not on HTTPS. Three things to check: 1) create the Application Password under Users > Profile (not your login password), 2) copy it including the spaces, 3) make sure the site loads over https. There is a full step-by-step in the blog post on fixing 401/403 errors.
saurabhbhayana19962026-07-11 12:48
This was it for me - I had pasted my normal login password by mistake. New Application Password fixed it instantly.
You need a verified account to reply. Log in or create a free account.