cancel
Showing results for 
Search instead for 
Did you mean: 

Authentication Error

luizCunha
Champ in-the-making
Champ in-the-making

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

/alfresco/api/-default-/public/alfresco/versions/1/nodes"/{id}/children?skipCount=0",

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":"https://api-explorer.alfresco.com"}}

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

2 REPLIES 2

narkuss
Star Contributor
Star Contributor

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. 

Do you know how to set Authorization header?