Workflow suspending with error

Audi86 731 Reputation points
2024-01-24T19:57:43.0733333+00:00

Hi, Our 2013 workflow has a suspended status ad its showing below error. Can you please check and advise what is the possible cause? " RequestorId: 79d75aba-5485-16c9-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ApplicationException: HTTP 403 {"error":{"code":"-2147024891, System.UnauthorizedAccessException","message":{"lang":"en-US","value":"Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))"}}} {"Transfer-Encoding":["chunked"],"Vary":["Origin"],"X-NetworkStatistics":["0,4204800,0,0,30,0,20197"],"X-SharePointHealthScore":["2"],"X-MSDAVEXT_Error":["917656; Access+denied.+Before+opening+files+in+this+location%2c+you+must+first+browse+to+the+web+site+and+select+the+option+to+login+automatically."],"DATASERVICEVERSION":["3.0"],"X-DataBoundary":["NONE"],"X-1DSCollectorUrl":["https://mobile.events.data.microsoft.com/OneCollector/1.0/"],"X-AriaCollectorURL":["https://browser.pipe.aria.microsoft.com/Collector/3.0/"],"SPRequestGuid":["79d75aba-5485-16c9-a3d4-184f423df582"],"request-id":["79d75aba-5485-16c9-a3d4-184f423df582"],"MS-CV":["ulrXeYVUyRaj1BhPQj31gg.0"],"Strict-Transport-Security":["max-age=31536000"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"Content-Security-Policy":["frame-ancestors 'self' teams.microsoft.com *.teams.microsoft.com *.skype.com *.teams.microsoft.us local.teams.office.com *.powerapps.com *.yammer.com engage.cloud.microsoft *.officeapps.live.com *.office.com *.microsoft365.com *.stream.azure-test.net *.microsoftstream.com *.dynamics.com *.microsoft.com onedrive.live.com *.onedrive.live.com securebroker.sharepointonline.com;"],"MicrosoftSharePointTeamServices":["16.0.0.24503"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1; RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Wed, 24 Jan 2024 08:07:24 GMT"],"P3P":["CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI""],"Server":["Microsoft-IIS/10.0"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]} 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) Exception from activity Throw If Sequence Sequence TryCatch Sequence Microsoft.SharePoint.WorkflowServices.Activities.RetryForDurationPolicy HttpPost Sequence TryCatch Sequence If Resolve principal information of SharePoint User in current context web DynamicActivity<DynamicValue> Subroutine<DynamicValue> Sequence If Resolve principal information of SharePoint User in current context web DynamicActivity<Int32> WriteToHistory Microsoft.SharePoint.WorkflowServices.Activities.OperatingWebContextScope Microsoft.SharePoint.WorkflowServices.Activities.WriteToHistory Restart Workflow Sequence Flowchart Sequence docwf.WorkflowXaml_823e816c_4e2e_42ea_a4fc_dc795cf9401c

SharePoint Workflow
SharePoint Workflow
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Workflow: An orchestrated and repeatable pattern of business activity, enabling data transformation, service provision, and information retrieval.
549 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yanli Jiang - MSFT 23,961 Reputation points Microsoft Vendor
    2024-01-25T02:30:20.2633333+00:00

    Hi @Audi86 ,

    According to the error message, the workflow instance failed with an HTTP 403 error with an "Access Denied" message. This may be because the user account running the workflow does not have the required permissions to perform the action. Please check the permissions of the account you are using or try switching to another account with permissions to see if the problem is resolved.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.