Closed
Description
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,
- Consumer Key
- Consumer Secret
- Token
- 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"
}
}