web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow no longer saves -...
Power Automate
Answered

Flow no longer saves - Error code 400

(0) ShareShare
ReportReport
Posted on by 15
I used chatGPT to help with this post.
 
Hello everyone,

I have a flow that has been running smoothly for years. The flow creates a task in Planner from a Microsoft List. Unfortunately, I can no longer save any changes. Every time I try to save the flow, I receive the following error message:

Error message:
{"message":"Request failed with status code 400","name":"AxiosError","code":"ERR_BAD_REQUEST","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/json","accept-language":"en-US","x-ms-client-session-id":"69092680-c6ab-11f0-91e3-3fc5897e5b1d","x-ms-client-request-id":"ce5e4584-7fff-41f9-8551-fa8215920ada","authorization":""},"operationName":"PROCESSSIMPLE:PATCH/PROVIDERS/MICROSOFT.PROCESSSIMPLE/ENVIRONMENTS/FLOWS/","params":{"api-version":"1","$expand":"properties.connectionreferences.apidefinition,properties.definitionsummary.operations.apioperation,operationDefinition,plan,properties.throttleData,properties.estimatedsuspensiondata,properties.licenseData,properties.billingContext,properties.throttlingBehavior,properties.powerFlowType,properties.protectionStatus,properties.owningUser","telemetryMetadata":"{\"modifiedSources\":\"Portal\"}"},"method":"patch","url":"https://default0b65a1c945f54ee2af9a513ee62ba3.f8.environment.api.powerplatform.com/powerautomate/flows/cd6cef3f-56db-49c8-83c4-638ac0dce93d","data":"{\"properties\":{\"connectionReferences\":{\"shared_sharepointonline_1\":{\"id\":\"/providers/Microsoft.PowerApps/apis/shared_sharepointonline\",\"connectionName\":\"shared-sharepointonl-36758629-2d13-4b23-b036-9856-424b5ecb\",\"source\":\"Embedded\"},\"shared_planner-1\":{\"id\":\"/providers/Microsoft.PowerApps/apis/shared_planner\",\"connectionName\":\"shared-planner-e009ae72-e3d8-4001-82f7-f5a1-17dddeec\",\"source\":\"Embedded\"}},\"definition\":{\"$schema\":\"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\"contentVersion\":\"1.0.0.0\",\"parameters\":{\"$authentication\":{\"defaultValue\":{},\"type\":\"SecureObject\"},\"$connections\":{\"defaultValue\":{},\"type\":\"Object\"}},\"triggers\":{\"Recurrence\":{\"type\":\"Recurrence\",\"recurrence\":{\"frequency\":\"Week\",\"interval\":1,\"startTime\":\"2024-04-29T05:00:00.000Z\",\"schedule\":{\"weekDays\":[\"Monday\"]}},\"metadata\":{\"operationMetadataId\":\"fe03b95d-c86e-4820-8414-6d17a2282f60\"}}},\"actions\":{\"Get_items\":{\"type\":\"OpenApiConnection\",\"inputs\":{\"parameters\":{\"dataset\":\"https://educampus02.sharepoint.com/sites/HrsaalkontrollenNEU\",\"table\":\"bde3fe3d-7fc9-4a63-af3d-1605db1044b5\"},\"host\":{\"apiId\":\"/providers/Microsoft.PowerApps/apis/shared_sharepointonline\",\"operationId\":\"GetItems\",\"connectionName\":\"shared_sharepointonline_1\"}},\"runAfter\":{},\"metadata\":{\"operationMetadataId\":\"08a4dabe-3835-4cd6-8d50-a1a0140ae2dc\"}},\"For_each\":{\"type\":\"Foreach\",\"foreach\":\"@outputs('Get_items')?['body/value']\",\"actions\":{\"Create_a_task\":{\"type\":\"OpenApiConnection\",\"inputs\":{\"parameters\":{\"body/groupId\":\"b5546065-a26e-450d-bbc6-58e4ac4c98cc\",\"body/planId\":\"lZamm-zy4EaB4QGcAN6s4ZYAEizt\",\"body/title\":\"@items('For_each')?['Title']\",\"body/priority\":\"@items('For_each')?['Priorit_x00e4_t']\"},\"host\":{\"apiId\":\"/providers/Microsoft.PowerApps/apis/shared_planner\",\"operationId\":\"CreateTask_V4\",\"connectionName\":\"shared_planner-1\"}},\"metadata\":{\"operationMetadataId\":\"46e84d6c-1e9c-4e01-a840-949c56730e3b\"}},\"Update_task_details\":{\"type\":\"OpenApiConnection\",\"inputs\":{\"parameters\":{\"id\":\"@outputs('Create_a_task')?['body/id']\",\"body/description\":\"@items('For_each')?['Notizen']\",\"body/checklist\":[{\"id\":\"1\",\"title\":\"Infopoint1\",\"isChecked\":\"null\"},{\"id\":\"2\",\"title\":\"Servicedesk\",\"isChecked\":\"null\"}]},\"host\":{\"apiId\":\"/providers/Microsoft.PowerApps/apis/shared_planner\",\"operationId\":\"UpdateTaskDetails_V2\",\"connectionName\":\"shared_planner-1\"}},\"runAfter\":{\"Create_a_task\":[\"Succeeded\"]},\"metadata\":{\"operationMetadataId\":\"0eeb9085-ed29-4e1c-826d-5ab6b18b52c3\"}},\"Update_item_copy_1\":{\"type\":\"OpenApiConnection\",\"inputs\":{\"parameters\":{\"dataset\":\"https://educampus02.sharepoint.com/sites/HrsaalkontrollenNEU\",\"table\":\"bde3fe3d-7fc9-4a63-af3d-1605db1044b5\",\"id\":\"@items('For_each')?['ID']\",\"item/TaskID\":\"@outputs('Create_a_task')?['body/id']\"},\"host\":{\"apiId\":\"/providers/Microsoft.PowerApps/apis/shared_sharepointonline\",\"operationId\":\"PatchItem\",\"connectionName\":\"shared_sharepointonline_1\"}},\"runAfter\":{\"Update_task_details\":[\"Succeeded\"]},\"metadata\":{\"operationMetadataId\":\"21b1e8f6-129c-4998-a544-979ad2e1feb9\"}}},\"runAfter\":{\"Get_items\":[\"Succeeded\"]},\"metadata\":{\"operationMetadataId\":\"0ebbab65-11b3-4095-9ab7-44d6ff132439\"}},\"Get_items_1_copy\":{\"type\":\"OpenApiConnection\",\"inputs\":{\"parameters\":{\"dataset\":\"https://educampus02.sharepoint.com/sites/HrsaalkontrollenNEU\",\"table\":\"bde3fe3d-7fc9-4a63-af3d-1605db1044b5\",\"$filter\":\"Priorit_x00e4_t gt '2'\"},\"host\":{\"apiId\":\"/providers/Microsoft.PowerApps/apis/shared_sharepointonline\",\"operationId\":\"GetItems\",\"connectionName\":\"shared_sharepointonline_1\"}},\"runAfter\":{\"For_each\":[\"Succeeded\"]},\"metadata\":{\"operationMetadataId\":\"a1e4984b-0c09-4c18-bdc6-166327944fc7\"}},\"For_each_1\":{\"type\":\"Foreach\",\"foreach\":\"@outputs('Get_items_1_copy')?['body/value']\",\"actions\":{\"Update_item\":{\"type\":\"OpenApiConnection\",\"inputs\":{\"parameters\":{\"dataset\":\"https://educampus02.sharepoint.com/sites/HrsaalkontrollenNEU\",\"table\":\"bde3fe3d-7fc9-4a63-af3d-1605db1044b5\",\"id\":\"@items('For_each_1')?['ID']\",\"item/Priorit_x00e4_t\":\"@add(items('For_each_1')?['Priorit_x00e4_t'],-2)\"},\"host\":{\"apiId\":\"/providers/Microsoft.PowerApps/apis/shared_sharepointonline\",\"operationId\":\"PatchItem\",\"connectionName\":\"shared_sharepointonline_1\"}}}},\"runAfter\":{\"Get_items_1_copy\":[\"Succeeded\"]}}}},\"displayName\":\"Tasks anlegen - Hörsaalkontrollen NEU\",\"environment\":{\"name\":\"Default-0b65a1c9-45f5-4ee2-af9a-513ee62ba3f8\"}},\"name\":\"cd6cef3f-56db-49c8-83c4-638ac0dce93d\",\"telemetryMetadata\":{\"modifiedSources\":\"Portal\"}}","team":"PowerAutomate","bodyDetails":{"locale":"en-US"},"axios-retry":{"retryCount":0,"lastRequestTime":1763711821318},"context":{"ppapiContext":{"endpoint":"default0b65a1c945f54ee2af9a513ee62ba3.f8.environment.api.powerplatform.com"}},"knownServiceId":"ppapi-pauto","activityId":"2cc556ae-2168-4041-84c5-fc4307f446e2"},"request":{},"response":{"data":{"error":{"code":"InvalidOpenApiFlow","message":"Flow save failed with code 'OpenApiOperationParameterValidationFailed' and message 'Input parameter 'body' validation failed in workflow operation 'Update_task_details': The parameter with value '\"null\"' in path 'body/checklist/0/isChecked' with type/format 'String' is not convertible to type/format 'Boolean'.'."}},"status":400,"statusText":"","headers":{"access-control-allow-origin":"*","access-control-expose-headers":"Content-Type,Date,Server,Access-Control-Allow-Origin,Access-Control-Expose-Headers,Content-Length,x-ms-ppapigateway,x-ms-gateway-clusters,x-ms-failure-cause,x-ms-request-id,x-ms-correlation-request-id,x-ms-flow-mobile-ios-version,x-ms-armresiliency,x-ms-flow-routing-request-id,Strict-Transport-Security","cache-control":"no-cache, no-store","content-length":"367","content-type":"application/json; charset=utf-8","date":"Fri, 21 Nov 2025 07:57:04 GMT","strict-transport-security":"max-age=31536000; includeSubDomains","x-ms-armresiliency":"False","x-ms-correlation-request-id":"28c9c547-b11e-4cee-a385-ed5018fcb7e0","x-ms-failure-cause":"OpenApiValidation","x-ms-flow-mobile-ios-version":"3.0.421","x-ms-flow-routing-request-id":"WESTEUROPE:20251121T075704Z:7ac56f43-b809-41e8-aa82-407445330b09","x-ms-gateway-clusters":"prdil107weu","x-ms-ppapigateway":"_prdil107weugb0_8","x-ms-request-id":"westeurope:7ac56f43-b809-41e8-aa82-407445330b09"},"config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/json","accept-language":"en-US","x-ms-client-session-id":"69092680-c6ab-11f0-91e3-3fc5897e5b1d","x-ms-client-request-id":"ce5e4584-7fff-41f9-8551-fa8215920ada","authorization":""},"operationName":"PROCESSSIMPLE:PATCH/PROVIDERS/MICROSOFT.PROCESSSIMPLE/ENVIRONMENTS/FLOWS/","params":{"api-version":"1","$expand":"properties.connectionreferences.apidefinition,properties.definitionsummary.operations.apioperation,operationDefinition,plan,properties.throttleData,properties.estimatedsuspensiondata,properties.licenseData,properties.billingContext,properties.throttlingBehavior,properties.powerFlowType,properties.protectionStatus,properties.owningUser","telemetryMetadata":"{\"modifiedSources\":\"Portal\"}"},"method":"patch","url":"https://default0b65a1c945f54ee2af9a513ee62ba3.f8.environment.api.powerplatform.com/powerautomate/flows/cd6cef3f-56db-49c8-83c4-638ac0dce93d","data":"{\"properties\":{\"connectionReferences\":{\"shared_sharepointonline_1\":{\"id\":\"/providers/Microsoft.PowerApps/apis/shared_sharepointonline\",\"connectionName\":\"shared-sharepointonl-36758629-2d13-4b23-b036-9856-424b5ecb\",\"source\":\"Embedded\"},\"shared_planner-1\":{\"id\":\"/providers/Microsoft.PowerApps/apis/shared_planner\",\"connectionName\":\"shared-planner-e009ae72-e3d8-4001-82f7-f5a1-17dddeec\",\"source\":\"Embedded\"}},\"definition\":{\"$schema\":\"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#\",\"contentVersion\":\"1.0.0.0\",\"parameters\":{\"$authentication\":{\"defaultValue\":{},\"type\":\"SecureObject\"},\"$connections\":{\"defaultValue\":{},\"type\":\"Object\"}},\"triggers\":{\"Recurrence\":{\"type\":\"Recurrence\",\"recurrence\":{\"frequency\":\"Week\",\"interval\":1,\"startTime\":\"2024-04-29T05:00:00.000Z\",\"schedule\":{\"weekDays\":[\"Monday\"]}},\"metadata\":{\"operationMetadataId\":\"fe03b95d-c86e-4820-8414-6d17a2282f60\"}}},\"actions\":{\"Get_items\":{\"type\":\"OpenApiConnection\",\"inputs\":{\"parameters\":{\"dataset\":\"https://educampus02.sharepoint.com/sites/HrsaalkontrollenNEU\",\"table\":\"bde3fe3d-7fc9-4a63-af3d-1605db1044b5\"},\"host\":{\"apiId\":\"/providers/Microsoft.PowerApps/apis/shared_sharepointonline\",\"operationId\":\"GetItems\",\"connectionName\":\"shared_sharepointonline_1\"}},\"runAfter\":{},\"metadata\":{\"operationMetadataId\":\"08a4dabe-3835-4cd6-8d50-a1a0140ae2dc\"}},\"For_each\":{\"type\":\"Foreach\",\"foreach\":\"@outputs('Get_items')?['body/value']\",\"actions\":{\"Create_a_task\":{\"type\":\"OpenApiConnection\",\"inputs\":{\"parameters\":{\"body/groupId\":\"b5546065-a26e-450d-bbc6-58e4ac4c98cc\",\"body/planId\":\"lZamm-zy4EaB4QGcAN6s4ZYAEizt\",\"body/title\":\"@items('For_each')?['Title']\",\"body/priority\":\"@items('For_each')?['Priorit_x00e4_t']\"},\"host\":{\"apiId\":\"/providers/Microsoft.PowerApps/apis/shared_planner\",\"operationId\":\"CreateTask_V4\",\"connectionName\":\"shared_planner-1\"}},\"metadata\":{\"operationMetadataId\":\"46e84d6c-1e9c-4e01-a840-949c56730e3b\"}},\"Update_task_details\":{\"type\":\"OpenApiConnection\",\"inputs\":{\"parameters\":{\"id\":\"@outputs('Create_a_task')?['body/id']\",\"body/description\":\"@items('For_each')?['Notizen']\",\"body/checklist\":[{\"id\":\"1\",\"title\":\"Infopoint1\",\"isChecked\":\"null\"},{\"id\":\"2\",\"title\":\"Servicedesk\",\"isChecked\":\"null\"}]},\"host\":{\"apiId\":\"/providers/Microsoft.PowerApps/apis/shared_planner\",\"operationId\":\"UpdateTaskDetails_V2\",\"connectionName\":\"shared_planner-1\"}},\"runAfter\":{\"Create_a_task\":[\"Succeeded\"]},\"metadata\":{\"operationMetadataId\":\"0eeb9085-ed29-4e1c-826d-5ab6b18b52c3\"}},\"Update_item_copy_1\":{\"type\":\"OpenApiConnection\",\"inputs\":{\"parameters\":{\"dataset\":\"https://educampus02.sharepoint.com/sites/HrsaalkontrollenNEU\",\"table\":\"bde3fe3d-7fc9-4a63-af3d-1605db1044b5\",\"id\":\"@items('For_each')?['ID']\",\"item/TaskID\":\"@outputs('Create_a_task')?['body/id']\"},\"host\":{\"apiId\":\"/providers/Microsoft.PowerApps/apis/shared_sharepointonline\",\"operationId\":\"PatchItem\",\"connectionName\":\"shared_sharepointonline_1\"}},\"runAfter\":{\"Update_task_details\":[\"Succeeded\"]},\"metadata\":{\"operationMetadataId\":\"21b1e8f6-129c-4998-a544-979ad2e1feb9\"}}},\"runAfter\":{\"Get_items\":[\"Succeeded\"]},\"metadata\":{\"operationMetadataId\":\"0ebbab65-11b3-4095-9ab7-44d6ff132439\"}},\"Get_items_1_copy\":{\"type\":\"OpenApiConnection\",\"inputs\":{\"parameters\":{\"dataset\":\"https://educampus02.sharepoint.com/sites/HrsaalkontrollenNEU\",\"table\":\"bde3fe3d-7fc9-4a63-af3d-1605db1044b5\",\"$filter\":\"Priorit_x00e4_t gt '2'\"},\"host\":{\"apiId\":\"/providers/Microsoft.PowerApps/apis/shared_sharepointonline\",\"operationId\":\"GetItems\",\"connectionName\":\"shared_sharepointonline_1\"}},\"runAfter\":{\"For_each\":[\"Succeeded\"]},\"metadata\":{\"operationMetadataId\":\"a1e4984b-0c09-4c18-bdc6-166327944fc7\"}},\"For_each_1\":{\"type\":\"Foreach\",\"foreach\":\"@outputs('Get_items_1_copy')?['body/value']\",\"actions\":{\"Update_item\":{\"type\":\"OpenApiConnection\",\"inputs\":{\"parameters\":{\"dataset\":\"https://educampus02.sharepoint.com/sites/HrsaalkontrollenNEU\",\"table\":\"bde3fe3d-7fc9-4a63-af3d-1605db1044b5\",\"id\":\"@items('For_each_1')?['ID']\",\"item/Priorit_x00e4_t\":\"@add(items('For_each_1')?['Priorit_x00e4_t'],-2)\"},\"host\":{\"apiId\":\"/providers/Microsoft.PowerApps/apis/shared_sharepointonline\",\"operationId\":\"PatchItem\",\"connectionName\":\"shared_sharepointonline_1\"}}}},\"runAfter\":{\"Get_items_1_copy\":[\"Succeeded\"]}}}},\"displayName\":\"Tasks anlegen - Hörsaalkontrollen NEU\",\"environment\":{\"name\":\"Default-0b65a1c9-45f5-4ee2-af9a-513ee62ba3f8\"}},\"name\":\"cd6cef3f-56db-49c8-83c4-638ac0dce93d\",\"telemetryMetadata\":{\"modifiedSources\":\"Portal\"}}","team":"PowerAutomate","bodyDetails":{"locale":"en-US"},"axios-retry":{"retryCount":0,"lastRequestTime":1763711821318},"context":{"ppapiContext":{"endpoint":"default0b65a1c945f54ee2af9a513ee62ba3.f8.environment.api.powerplatform.com"}},"knownServiceId":"ppapi-pauto","activityId":"2cc556ae-2168-4041-84c5-fc4307f446e2"},"request":{}},"isAxiosError":true}
 
Details:
The error seems to be related to the validation of an input parameter. Specifically, the value "null" is being passed as a string in the path body/checklist/0/isChecked, which cannot be converted to the Boolean type.

Flow Details:

The flow creates tasks in Planner based on entries in a Microsoft List.
The flow includes actions such as Get_items, Create_a_task, Update_task_details, and Update_item_copy_1.
The connection to SharePoint and Planner is correctly set up and has been working until now.
Questions:

Has anyone experienced similar issues when saving flows?
Are there any known solutions or workarounds for this error?
Could this be due to a change in the API or the connections?
I appreciate any help or suggestions that can contribute to resolving this issue.

Thank you in advance!
Categories:
I have the same question (4)
  • Verified answer
    Expiscornovus Profile Picture
    33,239 Most Valuable Professional on at
     
    Try adding the null values as expressions in the isChecked fields. Leaving them empty is not allowed in the Update task details action, I can reproduce that (see screenshot 1).
     
    Below is an example
     
    1. Before with empty fields, which is not allowed

     
    2. With expressions
    [
      {
        "id": "1",
        "title": "Infopoint1",
        "isChecked": @{null}
      },
      {
        "id": "2",
        "title": "Servicedesk",
        "isChecked": @{null}
      }
    ]




     
    Happy to help out 😁

    I share more #PowerAutomate and #SharePointOnline content on my Blog, LinkedIn, Bluesky profile or Youtube Channel
  • klaus-campus02 Profile Picture
    15 on at
    Thank you very much.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 429 Super User 2025 Season 2

#2
harshdeol Profile Picture

harshdeol 193 Moderator

#3
Tomac Profile Picture

Tomac 157 Moderator

Last 30 days Overall leaderboard