Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Error 401.0 - Unauthorized. You do not have permission to view this directory or page.

Sarthak Srivastava April 20, 2018

I have deployed my JIRA Add-on (developed using Atlassian-Connect Express) on Azure Web Apps server.

Getting error as shown below:

Authentication verification error: 401 Could not find stored client data for 93df4785-ec18-3445-76e6-a365a9e8d61c. Is this client registered?
Error: Failed to lookup view "unauthorized" in views directory "D:\home\site\wwwroot/views"
    at EventEmitter.render (D:\home\site\wwwroot\node_modules\express\lib\application.js:580:17)
    at ServerResponse.render (D:\home\site\wwwroot\node_modules\express\lib\response.js:1008:7)
    at Object.html (D:\home\site\wwwroot\node_modules\atlassian-connect-express\lib\middleware\authentication.js:86:33)
    at ServerResponse.res.format (D:\home\site\wwwroot\node_modules\express\lib\response.js:671:13)
    at sendError (D:\home\site\wwwroot\node_modules\atlassian-connect-express\lib\middleware\authentication.js:79:21)
    at D:\home\site\wwwroot\node_modules\atlassian-connect-express\lib\middleware\authentication.js:171:17
    at tryCatcher (D:\home\site\wwwroot\node_modules\rsvp\dist\rsvp.js:323:19)
    at invokeCallback (D:\home\site\wwwroot\node_modules\rsvp\dist\rsvp.js:495:31)
    at publish (D:\home\site\wwwroot\node_modules\rsvp\dist\rsvp.js:481:7)
    at flush (D:\home\site\wwwroot\node_modules\rsvp\dist\rsvp.js:2402:5)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)

 Getting the 401 unauthorized error. The server is only able to access the public file and not the private files. Auth failure

How can i solve this? 

3 answers

0 votes
Deleted user March 4, 2022

Two years and no solution?

0 votes
Alex
Contributor
May 20, 2020

Any update?

0 votes
Sarthak Srivastava April 20, 2018

Works when deployed on ngrok but not on production environment.

Suggest an answer

Log in or Sign up to answer