none
HTTP Unauthorized when Start a Workflow RRS feed

  • Question

  • Hello


    I'm having problems in a SharePoint 2013 lab environment, this environment was obtained from a move from the productive SharePoint environment to another farm, so I went through a migration or movement process. Within this environment is configured Project Server, Offices Web Apps and Workflow Manager.


    The problem occurs when starting a workflow designed by SharePoint Designer in the site collection where the PWA is located, in the meantime when I started it, the following message is displayed on the workflow status page:

    Retrying last request. Next attempt scheduled in less than one minute. Details of last request: HTTP Unauthorized to http://sitecollection/_vti_bin/client.svc/web/lists/getbyid(guid'1dde5798-db59-41e4-9a8e-9362f2498fad')

    Correlation ID: ea59463e-c0b8-121d-9a13-05d51c3c0ff1

    Instance ID: 1be3f78e-9763-4384-960c-85b27a353231


    After several seconds the status of the workflow changes to suspend, the following message is displayed on the workflow status page:

    RequestorId: ea59463e-c0b8-121d-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ApplicationException: HTTP 401 {"error_description":"Invalid JWT token. Could not resolve issuer token."} {"x-ms-diagnostics":["3000006;reason=\"Token contains invalid signature.\";category=\"invalid_client\""],"SPRequestGuid":["ea59463e-c0b8-121d-900b-6bfcee5ee7ec"],"request-id":["ea59463e-c0b8-121d-900b-6bfcee5ee7ec"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"SPRequestDuration":["4"],"SPIisLatency":["0"],"Server":["Microsoft-IIS\/8.0"],"WWW-Authenticate":["Bearer realm=\"5d087411-e583-4cfb-ac5c-02486c304a26\",client_id=\"00000003-0000-0ff1-ce00-000000000000\",trusted_issuers=\"00000005-0000-0000-c000-000000000000@*,00000003-0000-0ff1-ce00-000000000000@5d087411-e583-4cfb-ac5c-02486c304a26\"","NTLM"],"X-Powered-By":["ASP.NET"],"MicrosoftSharePointTeamServices":["15.0.0.4569"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1; RequireReadOnly"],"Date":["Tue, 18 Apr 2017 16:11:58 GMT"]} at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)


    In the first message, the URL is still pointing to the URL of the production environment.

    The User Profile Service is running, and the user that start the workflow is listed in the user profile list.

    I think the problem is for in somewhere is still point to old farm.

    Tuesday, April 18, 2017 4:25 PM

All replies

  • The question is - How are you migrate yours production farm to your Lab env?
    The workflow was made on SharePoint Designer?
    Monday, April 24, 2017 9:46 AM
  • Were you able to resolve this? If so, could you please let us know how it resolved for you? I am facing the same issue after migrating WF farm from Production to Dev. Thanks in advance.

    Ravi

    Monday, December 2, 2019 6:54 PM