NOT ABLE TO VALIDATE TICKET RECEIVED IN POSTMAN THROUGH ALFRESCO REST API

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

NOT ABLE TO VALIDATE TICKET RECEIVED IN POSTMAN THROUGH ALFRESCO REST API

Hi I am using alfresco community edition 6.0, I tried to use alfresco rest api.

using POST: http://127.0.0.1:8080/alfresco/api/-default-/public/authentication/versions/1/tickets in post I generated a ticket.

But when I went to validate the ticke by using GET: http://127.0.0.1:8080/alfresco/api/-default-/public/authentication/versions/1/tickets/-me- in postman, I am receiving some error.

 

Error:

{
    "error": {
        "errorKey": "framework.exception.ApiDefault",
        "statusCode": 401,
        "briefSummary": "05270018 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"
    }
}