cancel
Showing results for 
Search instead for 
Did you mean: 

Getting list of Documents of document library for perticular site

rasika_g
Champ in-the-making
Champ in-the-making

Hi,

I am using alfresco cummunity edition version 6.2.

I have been tring to retrive documents from document library by using 

this. but I am getting 401 error... tried it with post man it is giving me this reponce:-
<html>
 
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <title>Error 401 Invalid password/token for user: test</title>
</head>
 
<body>
    <h2>HTTP ERROR 401</h2>
    <p>Problem accessing /alfresco/api/-default-/public/alfresco/versions/1/nodes/-root-/children. Reason:
        <pre>    Invalid password/token for user: test</pre>
    </p>
    <hr><a href="http://eclipse.org/jetty">Powered by Jetty:// 9.4.z-SNAPSHOT</a>
    <hr />
 
</body>
 
I am getting this responce even though i have set the basic auth .
 
need a help.
 
Thanks in advance!
 
</html>
1 REPLY 1

kintu_barot
Star Collaborator
Star Collaborator

Ideally, it should be accessible.

Please, try with different user or admin user and try to call the API on the browser.

Regards,
Kintu