Authentication Error

Showing results for 
Search instead for 
Did you mean: 
Member II

Authentication Error

I have a REST springBoot api and when im trying to call the method:


i'm having the following error. 

{"error":{"errorKey":"framework.exception.ApiDefault","statusCode":401,"briefSummary":"02310027 Authentication failed for Web Script org/alfresco/api/ResourceWebScript.get","stackTrace":"For security reasons the stack trace is no longer displayed, but the property is kept for previous versions","descriptionURL":""}}

I don't know why this error is happening now, if he didn't occurred before 

1 Reply
Established Member II

Re: Authentication Error

401 means unauthorized, you should pass an Authorization header, either basic or bearer works.

Also, check alfresco logs, maybe it helps you to know what is happening.