Skip to content

Magento 2 default Rest API not working?

I am working on a default Magento setup and facing the default rest API not responding on checkout and throwing 401 error.

{"message":"Consumer is not authorized to access %resources"...}

For example below APIs not working for logged in users.

/rest/default/V1/carts/mine/estimate-shipping-methods
/rest/default/V1/carts/309215/estimate-shipping-methods-by-address-id
/rest/V1/wishlist

is there any missing configuration?

is there any session/cookies related issue?

is they are customer specific?

Please share your thoughts on the same.