Others

How to Fix SharePoint Workflow Suspended Error (Invalid DateTime)

Olivia MillerOlivia Miller Oct 19, 2026 870 views

Question details

The user needs to fix a SharePoint Online workflow or Power Automate flow that has been suspended due to an invalid date and time format error.

How to Fix SharePoint Workflow Suspended Error Caused by Invalid DateTime Values
Product
SharePoint / Power Automate
Device & OS
not provided
Scenario
Running a SharePoint workflow that utilizes a ParseDate action to process date and time variables.
Observed behavior
The workflow fails and shows a Suspended status with the error message: 'The string was not recognized as a valid DateTime'.
Before you start

Ensure you have edit permissions for the affected SharePoint workflow or Power Automate flow, and note the exact step where the suspension occurred in the run history.

Solution 1Recommended

Review and Correct DateTime Formats in the Workflow

Identify and fix empty or incorrectly formatted date and time values being processed by the ParseDate action to allow the workflow to run smoothly.

When a workflow expects a specific date format but receives an empty string or unmatched format, the ParseDate action fails. This immediately suspends the workflow.

1
Open the suspended workflow

Navigate to your Power Automate or SharePoint workflows page and locate the flow that is currently suspended.

2
Check the run history

Click on the failed run to view the execution history. Locate the exact step (typically a ParseDate action) where the error triggered.

3
Validate input data

Check the source data feeding into the DateTime action. Ensure there are no empty fields, null values, or formatting mismatches (for example, receiving DD/MM/YYYY instead of MM/DD/YYYY).

4
Update and resubmit

Correct the date format in the source data or add a condition to handle empty values within the flow, then resubmit the workflow.

Review and Correct DateTime Formats in the Workflow
Formatting Tip: Use the 'formatDateTime' expression in Power Automate to standardize incoming date strings before attempting to parse them.
Free Microsoft Office alternative

Enhance Your Productivity with WPS Office

While SharePoint and Power Automate handle complex backend workflows, you still need a reliable suite for daily document tasks. WPS Office provides a lightweight, highly compatible, and free alternative to Microsoft Office for editing Word, Excel, and PowerPoint files.

Fully compatible with Microsoft Office formats (.docx, .xlsx, .pptx).Lightweight installation and significantly faster startup times.Free to use with a familiar, user-friendly interface.Seamless migration for daily document editing and collaboration.
QA img-9

Frequently Asked Questions

What causes the 'string was not recognized as a valid DateTime' error in SharePoint?

This error occurs when a workflow action, such as ParseDate, attempts to convert a text string into a date, but the string is either empty, null, or formatted in a way the system does not recognize.

How do I handle blank date fields in Power Automate to prevent suspension?

You can use a 'Condition' action to check if the date field is empty before passing it to the ParseDate action, or use expressions like 'coalesce' to provide a default fallback date.

Can an administrator recover a suspended SharePoint workflow?

Depending on the workflow type, an administrator or flow owner can often click 'Resubmit' on the failed flow run once the underlying data issue has been resolved in the source.