Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Error on UpdateTaskDetails "Cannot set child value ' !' on Newtonsoft.Json.Linq.JValue:''

(0) ShareShare
ReportReport
Posted on by 2

Hello, 

 

Since few days  i have the error below on my task "Updatedetails"

 

{
  "error": {
    "code": 400,
    "message": "Cannot set child value ' !' on Newtonsoft.Json.Linq.JValue:''",
    "source": "flow-apim-europe-001-northeurope-01.azure-apim.net",
    "path": "choose[17]\\when[1]\\choose\\when[1]",
    "policyId": "",
    "clientRequestId": "dde4f911-5e01-4e15-8a4c-72de393073b7"
  }
}

 

Here is the code of my task : 

 

{
  "type""OpenApiConnection",
  "inputs": {
    "parameters": {
      "id""@outputs('Créer_une_tâche_4')?['body/id']",
      "body/description""Nom du demandeur : @{outputs('Get_response_details')?['body/r7c83ac75d8a64a15bc07f4c70f96cbd7']} \n\nDescription du besoin : @{outputs('Get_response_details')?['body/r6ed865c495144a5da0f991f3c2d05aba']}\n\nUtilisateurs finaux : @{outputs('Get_response_details')?['body/r0cc1ddfc2c324e79a0fc9c5a84eb6d7c']}\n\nSources de données identifiées : @{outputs('Get_response_details')?['body/r190a750c69724b619e9fc867ca442fab']}\n\nDonnées Ã  exploiter : @{outputs('Get_response_details')?['body/r93e05892641648e1ae8862072d975db3']}\n\nRègles de gestion pour calcul indicateurs : @{outputs('Get_response_details')?['body/r63490662a45d47728b7b32e17da3bdd0']}\n\nType de visualisation : @{outputs('Get_response_details')?['body/re3971e49d23e4d1bbffdd7be6990bca1']}\n\n\n",
      "body/references""@body('Sélectionner')"
    },
    "host": {
      "apiId""/providers/Microsoft.PowerApps/apis/shared_planner",
      "connection""shared_planner",
      "operationId""UpdateTaskDetails_V2"
    }
  },
  "runAfter": {
    "Ajouter_des_destinataires_à_une_tâche_5": [
      "Succeeded"
    ]
  },
  "metadata": {
    "operationMetadataId""c9e61200-8413-4e24-9441-d5f9ed45cd05"
  }
}
 
Could you help me to solve this error ?
  • DenisLT Profile Picture
    2 on at
    Re: Error on UpdateTaskDetails "Cannot set child value ' !' on Newtonsoft.Json.Linq.JValue:''

    Hi @Expiscornovus 

    Here the code of the select action : 

     

    {
    "type": "Select",
    "inputs": {
    "from": "@json(outputs('Get_response_details')?['body/r38692aa11c1f48de8cf5d283837439d4'])",
    "select": {
    "alias": "@item()?['name']",
    "resourcelink": "@item()?['link']"
    }
    },
    "metadata": {
    "operationMetadataId": "64f625cc-f922-4a04-bb7c-7868ea5add02"
    }
    }

    DenisLT_0-1713778422819.png

     

  • Expiscornovus Profile Picture
    31,648 Most Valuable Professional on at
    Re: Error on UpdateTaskDetails "Cannot set child value ' !' on Newtonsoft.Json.Linq.JValue:''

    Hi @DenisLT,


    I see that in the references field you used the body of a Select action. 

    "body/references": "@body('Sélectionner')"

     

    Can you share what the setup is of that Select action?

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,702 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow