Their is a strange 401 error comes in basic rest APIs. For example:
I have already checked and trouble shoot following steps.
1- Enable the legacy REST API is checked
2- I have made new rest api and applied the same consumer key
3- I created new admin and tried
4- I replace htaccess with default wordpress
5- I have upgrade both wordpress and woocommerce version to latest
6- I have disabled all other plugins
But none of the things work still, rest every thing is working fine but rest-API authentication for woocommerce does not