You did not sign in correctly or your account is temporarily disabled In Magento 2

Option FollowSymLinks not allowed here

In Magento sometimes we face the issue “You did not sign in correctly or your account is temporarily disabled” when creating token using rest API.

If you are calling rest API like  http://www.yoursite.com/all/V1/integration/admin/token and you are getting the error message.

You need to clean the oauth token requests logs.

To do so, is as simple as deleting the following table:

Error message “You did not sign in correctly or your account is temporarily disabled” error on Rest API calls”

Solution : DELETE FROM oauth_token_request_log;

Run the above query in database.

Other Solution:
Unlock admin account

Use below command in case the account is locked

php bin/magento admin:user:unlock

or go to Magento 2 root folder and type

php bin/magento admin:user:unlock

Example

php bin/magento admin:user:unlock admin

Related Post :Customer Login Programmatically In Magento

Like us on Facebook and Linkedin for more updates.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top