While you work with REST API in Magento and you got the error like, The consumer isn’t authorized to access %resources.
Error Response will look like this,
"message": "The consumer isn't authorized to access %resources.", "parameters": { "resources": "self" },