AnsweredAssumed Answered

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

Question asked by raghavamail@gmail.com on Jul 29, 2018
Latest reply on Jul 30, 2018 by raghavamail@gmail.com

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/containers
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)

 

 

Outcomes