Authentication Error

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

Authentication Error

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
narkuss
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. 

Upladder
Active Member II

Re: Authentication Error

Do you know how to set Authorization header?