How to Fix SharePoint Workflow Suspended Error (Invalid DateTime)
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.

- 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'.
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.
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.
Navigate to your Power Automate or SharePoint workflows page and locate the flow that is currently suspended.
Click on the failed run to view the execution history. Locate the exact step (typically a ParseDate action) where the error triggered.
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).
Correct the date format in the source data or add a condition to handle empty values within the flow, then resubmit the workflow.

Create a Support Ticket via Microsoft 365 Admin Center
If the workflow remains suspended after correcting date formats, involve Microsoft Support for backend log analysis.
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.

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.




