I have workflow which works correct on a development machine. But on production it throws an error on start.
"Started" status message:
Retrying last request.
Next attempt scheduled in less than one minute.
Details of last request: HTTP Unauthorized to
http://teampro3/testissuemanager/_vti_bin/client.svc/sp.utilities.utility.ResolvePrincipalInCurrentcontext(input=@ParamUser,scopes='15',sources='15',inputIsEmailOnly='false',addToUserInfoList='False')?%40ParamUser='i%3A0%23.w%7Ccompany%5Cusername'
Correlation Id: 527e2b06-d43c-452f-8554-656653e683e3
Instance Id: 95282d99-0e02-4d48-8dab-9b7527809792
"Suspended" status message:
RequestorId: 527e2b06-d43c-452f-0000-000000000000.
Details: RequestorId: 527e2b06-d43c-452f-0000-000000000000.
Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ApplicationException:
HTTP 401 {"x-ms-diagnostics":["3000006;reason=\"Token contains invalid signature.\";category=\"invalid_client\""],"SPRequestGuid":["527e2b06-d43c-452f-9098-b8e596b2e2ad"],"request-id":["527e2b06-d43c-452f-9098-b8e596b2e2ad"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"SPRequestDuration":["3"],"SPIisLatency":["0"],"Server":["Microsoft-IIS\/8.0"],"WWW-Authenticate":["Bearer realm=\"9bfe48de-e7ca-4d2d-b480-1c1c967d2d3b\",client_id=\"00000003-0000-0ff1-ce00-000000000000\",trusted_issuers=\"00000005-0000-0000-c000-000000000000@*,00000003-0000-0ff1-ce00-000000000000@9bfe48de-e7ca-4d2d-b480-1c1c967d2d3b\"","NTLM"],"X-Powered-By":["ASP.NET"],"MicrosoftSharePointTeamServices":["15.0.0.4420"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1; RequireReadOnly"],"Date":["Mon, 17 Feb 2014 20:06:32 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)
I use not a system account for running workflow.
What could be the problem?