This object is in archive! 

Error 400 Check your credentials.

Casey Z. shared this question 8 years ago
Answered

We are getting the following error when trying to manually run a sync: "Error 400 Check your credentials."


The password is correct and so is the username. The site is no longer syncing automatically nor will it sync manually due to this. Please provide a solution to this as soon as possible. Thanks.

Comments (9)

photo
1

Below is a quick reference to the setup instructions. Can you check to make sure that the io user for wordpress is set up to have the "role" of editor, as well as ensure the other steps were properly implimented:


Setup Authentication

  1. In Wordpress, go to Settings->OAuth Server (on the left menu)
  2. Click Advanced tabCheck the User Credentials boxClick Save at the bottom
  3. Click Clients tabClick Add New ClientSet Client Name: ioSet Redirect URI: http://www.inflatableoffice.com/include/wordpress.phpClick Update
  4. Go to Users (on the left menu)Click Add NewSet username to: ioSet the email to your email addressSet the password to anything you want (remember it for later)Set the Role to: EditorClick Add New User at the bottom

photo
1

I have now confirmed this was all set up properly 4 times. Everything is in order. I was able to successfully do a sync when I first set this up but it has stopped since I moved from one server to another.

photo
1

What version of OAuth Server are you using?

photo
1

WP OAuth Server | v3.1.97

photo
1

Also, what version of WP Rest API are you using?

photo
1

Version 1.2.5

photo
1

Is the User Credentials box checked? Step 2a of Setup Authentication at https://www.inflatableoffice.com/support/knowledge-base/article/wordpress-wshopping-cart-integration_1

photo
1

2279779b1c8b471f4c75f71f94d405fa

photo
1

I tried to login from the webpage and got the following attached error. Can you try changing the password to something simplier. Also Client Credentials doesn't need checked.

photo
1

So, I unchecked Client Credentials and changed the password. Still not working. Thanks for helping me to resolve this issue.

photo
2

I re-saved your Wordpress settings (only removed the http:// in the URL) and now instead of the 400 wrong password error, I'm getting:


401 {"error":"unauthorized_client","error_description":"The grant type is unauthorized for this client_id"}


I think maybe you have to re-create the client ID and secret.

photo
1

That seems to have fixed this issue. Thanks!

Replies have been locked on this page!