cancel
Showing results for 
Search instead for 
Did you mean: 

The entity with id: alfresco-api-demo was not found

raghavamail
Champ in-the-making
Champ in-the-making

Hi,

I am trying to create document under the repository "alfresco-api-demo". but its throwing error.

You can see the repository in the screen shot.

Found 1 networks.
Your home network appears to be: -default-
http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/sites/alfresco-api-demo/cont...
com.google.api.client.http.HttpResponseException: 404 Not Found
{"error":{"errorKey":"framework.exception.EntityNotFound","statusCode":404,"briefSummary":"06290011 The entity with id: alfresco-api-demo was not found","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"}}
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1050)
at com.alfresco.api.example.BasePublicAPIExample.getRootFolderId(BasePublicAPIExample.java:182)
at com.alfresco.api.example.CmisCreateDocumentExample.doExample(CmisCreateDocumentExample.java:27)
at com.alfresco.api.example.CmisCreateDocumentExample.main(CmisCreateDocumentExample.java:18)

3 REPLIES 3

afaust
Legendary Innovator
Legendary Innovator

By default there is no such site. Did you create it before trying to access it? Otherwise it would be expected that this fails.

raghavamail
Champ in-the-making
Champ in-the-making

Hi,

I am trying to connect to my local. local authentication is working fine, but when trying to access repository its having issue

Hello,

I having the same problem that you faced in 2018. How did you get through it? I really appreciate your attention and help.