I'm facing issue, my model named Provider and i called a GET method it shows :
{
"error": {
"name": "Error",
"status": 401,
"message": "Authorization Required",
"statusCode": 401,
"code": "AUTHORIZATION_REQUIRED",
"stack": "Error: Authorization Required\n at /home/developer/node_modules/loopback/lib/application.js:396:21\n at /home/developer/node_modules/loopback/lib/model.js:322:7\n at /home/developer/node_modules/loopback/common/models/acl.js:472:23\n at /home/developer/node_modules/async/dist/async.js:3679:13\n at /home/developer/node_modules/async/dist/async.js:952:25\n at iteratorCallback (/home/developer/node_modules/async/dist/async.js:997:17)\n at /home/developer/node_modules/async/dist/async.js:847:20\n at /home/developer/node_modules/async/dist/async.js:3676:17\n at /home/developer/node_modules/async/dist/async.js:339:31\n at /home/developer/node_modules/loopback/common/models/acl.js:454:17\n at /home/developer/node_modules/loopback/common/models/role.js:272:21\n at /home/developer/node_modules/async-listener/glue.js:188:31\n at _combinedTickCallback (internal/process/next_tick.js:67:7)\n at process._tickDomainCallback [as _tickCallback] (internal/process/next_tick.js:122:9)"
}
}
I'm dealing with a client whose project was abandoned by the developer . since i'm new to LOOPBACK i was confused totally and so need your HELP very badly ...
Thanks in advance ...
accesstokenwith each request. - Subburaj