Skip to content

"Consumer is not authorized to access %resources" after some hours of Magento 2.0.5 Setup #5110

Closed
@mohanbmahajan

Description

@mohanbmahajan

For Magento ver. 2.0.5 I am having following issue,

I am using following endpoint to list the customers,
For this I am using Postman - REST Client 0.8.4.17 of crome using OAuth 1.0 Authorization
http://< magento_host >/rest/V1/customers/search?searchCriteria[page_size]=100

Along with the above request I am providing,

  1. Consumer Key
  2. Consumer Secret
  3. Token
  4. Token Secret
    These I get from Integrations Extensions of System in Admin Panel of Magento.

The problem I come across is I am able to get the list of customers for some time (~= 2 hrs) & after this I am continuously getting following,
{
"message": "Consumer is not authorized to access %resources",
"parameters": {
"resources": "Magento_Customer::customer"
}
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions